summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-05-09 12:55:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-05-09 12:55:21 -0400
commitdff1417bc037bf91c8157df334dc33637963b19a (patch)
tree891246d623b178fef4e8a6934249022d5949412c /CHANGELOG
parentc2fc933d1503378099d4371c6074cb37e9a03e44 (diff)
Keys marked as dead are now skipped by --all.
fsck already special-cased dead keys to make --all not report errors with them, and it makes sense to also expand that to whereis. I think it makes sense for dead keys to be skipped by all uses of --all, so mistakes can be completely forgotten about and not come back to haunt us. The speed impact of testing if the key is dead is negligible for fsck and whereis, since they use the location log anyway and it gets cached. This does slow down a few commands that support --all, in particular metadata --all runs around 2x as slow. I don't think metadata --all is often used though. It might slow down copy/move/mirror --all and get --all. log --all is not affected (does not use the normal --all machinery). Dead keys will still be processed by --incomplete, --branch, --failed, and --key. Although it would be unlikely for a dead key to ave in incomplete or failed transfer. It seems to make perfect sense for --branch to process keys on the branch, even if dead. (fsck's special-casing of dead keys was left in, so if one of these options causes a dead key to be fscked, there will be a nice message.) This commit was supported by the NSF-funded DataLad project.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a3a7a9d54..c1d9dc7b6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -21,6 +21,7 @@ git-annex (6.20170322) UNRELEASED; urgency=medium
This was never supported before.
* git annex add -u now supported, analagous to git add -u
* version: Added "dependency versions" line.
+ * Keys marked as dead are now skipped by --all.
-- Joey Hess <id@joeyh.name> Wed, 29 Mar 2017 12:41:46 -0400