aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-09 15:32:22 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-09 15:32:22 -0400
commit17bbf2840159c656a583726f8128d3d665c5c3e1 (patch)
treee2440360ae7ba9f0aa48dbeb4a5007a5f9f7345a /CHANGELOG
parentc152d92e26e7d3b6115a79e2e10546f3e4ddce71 (diff)
Make import --deduplicate and --skip-duplicates only hash once, not twice
import: --deduplicate and --skip-duplicates were implemented inneficiently; they unncessarily hashed each file twice. They have been improved to only hash once. The new approach is to lock down (minimally) and hash files, and then reuse that information when importing them. This was rather tricky, especially in detecting changes to files while they are being imported. The output of import changed slightly. While before it silently skipped over files with eg --skip-duplicates, now it shows each file as it starts to act on it. Since every file is hashed first thing, it would otherwise not be clear what file import is chewing on. (Actually, it wasn't clear before when any of the duplicates switches were used.) This commit was sponsored by Alexander Thompson on Patreon.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 45ed65a66..e348014a6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -43,6 +43,9 @@ git-annex (6.20170102) UNRELEASED; urgency=medium
Note that --clean-duplicates and --deduplicate still check
numcopies, so won't delete duplicate files unless there's an annexed
copy.
+ * import: --deduplicate and --skip-duplicates were implemented
+ inneficiently; they unncessarily hashed each file twice. They have
+ been improved to only hash once.
-- Joey Hess <id@joeyh.name> Fri, 06 Jan 2017 15:22:06 -0400