diff options
author | Joey Hess <joeyh@joeyh.name> | 2023-11-17 17:27:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2023-11-17 17:37:58 -0400 |
commit | 6e3bcbf4dd769ac907aeeb5d2653d4e8ff3b7322 (patch) | |
tree | c7fe31412973f8270160232b3a7319fea3a99359 /CHANGELOG | |
parent | 96c0e720c50a729c186101684d6450bf5671dca2 (diff) |
Make git-annex copy --from --to --fast actually fast
Eg when the destination is logged as containing a file, skip
actively checking that it does contain it.
Note that --fast does not prevent other verifications of content
location that are done in a copy --from --to. Perhaps it could, but this
change will already avoid the real unnecessary work of operating on
files that are already in the remote.
And avoiding other verifications
might cause it to fail if the location log thinks that --to does not
contain the content but does. Such complications with `git-annex copy
--to remote --fast` led to commit d006586cd0b706c9cc92b2747b2ba3487f52c04a
which added a note that gets displayed when that fails, mentioning it
might be due to --fast being enabled.
copy --from --to is already complicated enough without needing to worry
about such edge cases, so continuing to doing some verification of
content location after the initial --fast filtering seems ok.
Sponsored-by: Dartmouth College's DANDI project
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ git-annex (10.20230927) UNRELEASED; urgency=medium to tune the output of the above added options. * Fix bug in git-annex copy --from --to that skipped files that were locally present. + * Make git-annex copy --from --to --fast actually fast. -- Joey Hess <id@joeyh.name> Tue, 10 Oct 2023 13:17:31 -0400 |