diff options
author | 2013-02-07 08:28:40 -0400 | |
---|---|---|
committer | 2013-02-07 08:28:40 -0400 | |
commit | f797939d15a2b414e62b28ccb0bd9e5b77978d76 (patch) | |
tree | 4095dd3f6e97bc1d7638cfbecbd1e75ce002af95 /doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn | |
parent | a7b151f28926f3a6455f4456c496aeaf31df091a (diff) |
Clean up direct mode cache and mapping info when dropping keys.
These files were left behind, and made getKeysPresent find keys that were
not present. It would be expensive to make getKeysPresent check that the
actual key files are present (it just lists the directories). But that's not
needed if we just clean up the stale cache and mapping files.
To handle systems that were in direct mode and got switched back with stale
direct mode files, made cleanObjectLoc remove all files in the key's directory.
git annex unused will still list keys that are gone but for which the stale
direct mode files exists. To deal with that, made dropunused remove the key's
directory even if the key does not seem to be present.
Diffstat (limited to 'doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn')
-rw-r--r-- | doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn b/doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn index 09bfd0c3b..8f89c0480 100644 --- a/doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn +++ b/doc/bugs/dropunused_doesn__39__t_work_in_my_case__63__.mdwn @@ -56,3 +56,6 @@ What version of git-annex are you using? On what operating system? git-annex: 3.20130124 Debian: sid 2013-02-01 + +> unused being confused by stale data left when switching from direct mode. +> I've made this be cleaned up. [[done]] --[[Joey]] |