diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-22 17:06:00 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-22 17:28:53 -0400 |
commit | 75760de1adfd5772d2b4d9dc744798ed31f727f9 (patch) | |
tree | c06b9fe0539ccf74e79b16911ab43f7d71b824c4 /debian | |
parent | 0f3462afc04dbbb575e36434c8dd5733061fd6fd (diff) |
Support unannex and uninit in direct mode.
In direct mode, it's best to whenever possible not move direct mode files
out of the way, and so I made unannex avoid touching the direct mode file at
all.
That actually turns out to be easy, because in direct mode, unlike indirect
mode, the pre-commit hook won't get confused if the unannexed file later
gets added back by git add. So there's no need to commit the unannex right
away; it can be staged for the user to commit later. This also means that
unannex in direct mode is a lot faster than in indirect mode!
Another subtle bit is the bookkeeping that is done when unannexing a direct
mode file. The inode cache needs to be removed so that when uninit runs
getKeysPresent, it doesn't see the cache and think the key is still
present and crash when it's not.
This commit is sponsored by Douglas Butts. Thanks!
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 298b77d86..221fb3bee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,7 @@ git-annex (4.20130710) UNRELEASED; urgency=low back to the regular host if they all fail. * For long hostnames, use a hash of the hostname to generate the socket file for ssh connection caching. + * Support unannex and uninit in direct mode. -- Joey Hess <joeyh@debian.org> Tue, 09 Jul 2013 19:17:13 -0400 |