projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bcf273
)
Keep "correct" hashes in dcpomatic2_map rather than recalculating them (#2555).
author
Carl Hetherington
<cth@carlh.net>
Tue, 20 Jun 2023 20:07:50 +0000
(22:07 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 28 Jun 2023 23:50:35 +0000
(
01:50
+0200)
src/lib/map_cli.cc
patch
|
blob
|
history
diff --git
a/src/lib/map_cli.cc
b/src/lib/map_cli.cc
index 487d1690d846b756a68bad358a33676ca0a43c28..c7f21be4a0ed85e8a00147e256fca4f72222a9d3 100644
(file)
--- a/
src/lib/map_cli.cc
+++ b/
src/lib/map_cli.cc
@@
-246,7
+246,7
@@
map_cli(int argc, char* argv[], std::function<void (string)> out)
throw CopyError(String::compose("Could not copy asset %1: %2", input_path.string(), ec.message()));
}
}
- (*iter)->set_file(output_path);
+ (*iter)->set_file
_preserving_hash
(output_path);
already_copied.push_back(asset_id);
} else {
boost::system::error_code ec;