summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-05 16:48:00 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-05 16:48:00 -0400
commit4b690643b335b8892a0fb3b8cb05b7b50f987a36 (patch)
tree79a566f701cada6d870c388a5f8447aa9b255ee5 /debian
parent053587b22832cc0db37055ee90ebd9bb066b29d9 (diff)
Deal with stale mappings for deleted file in direct mode.
The most common way for a mapping to be stale is when a file was deleted, or renamed. Nothing updates the mappings for deletions yet. But they can also become stale in other ways. For example a file can be modified. So, the mapping is not trusted to be consistent. When we get a key, only replace symlinks that still point to that key with its content. When we drop a key, only put back symlinks for files that still have the direct mode content.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 05ceb00b9..c289794c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ git-annex (3.20130125) UNRELEASED; urgency=low
and other tasks.
* assistant: Ignore .DS_Store on OSX.
* assistant: Fix location log when adding new file in direct mode.
+ * Deal with stale mappings for deleted file in direct mode.
-- Joey Hess <joeyh@debian.org> Sat, 26 Jan 2013 15:48:40 +1100