diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-02-07 17:35:51 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-02-07 17:41:58 -0400 |
commit | bed8555eb19c0107dca023c2048c3f401ac05610 (patch) | |
tree | a9ef3afe916f81fe9799b199c228dbc7909935b6 /CHANGELOG | |
parent | 5a9e454ee8617e20edd468d8567c427cc0921c69 (diff) |
import: Changed how --deduplicate, --skip-duplicates, and --clean-duplicates determine if a file is a duplicate
Before, only content known to be present somewhere was considered a
duplicate. Now, any content that has been annexed before will be considered
a duplicate, even if all annexed copies of the data have been lost.
Note that --clean-duplicates and --deduplicate still check numcopies,
so won't delete duplicate files unless there's an annexed copy.
This makes import use the same method as reinject --known.
The man page already said that duplicate meant "its content is either
present in the local repository already, or git-annex knows of another
repository that contains it, or it was present in the annex before but has
been removed now". So, this is really only bringing the implementation into
line with the man page.
This commit was sponsored by Jochen Bartl on Patreon.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,15 @@ git-annex (6.20170102) UNRELEASED; urgency=medium UUID for the new special remote, instead of generating a UUID. This can be useful in some situations, eg when the same data can be accessed via two different special remote backends. + * import: Changed how --deduplicate, --skip-duplicates, and + --clean-duplicates determine if a file is a duplicate. + Before, only content known to be present somewhere was considered + a duplicate. Now, any content that has been annexed before will be + considered a duplicate, even if all annexed copies of the data have + been lost. + Note that --clean-duplicates and --deduplicate still check + numcopies, so won't delete duplicate files unless there's an annexed + copy. -- Joey Hess <id@joeyh.name> Fri, 06 Jan 2017 15:22:06 -0400 |