summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-08-12 14:38:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-08-12 14:38:53 -0400
commitfc50718ed8a2da1d321a9b4e93bd184569c84a76 (patch)
tree8a7965c9eb179fff428d63a0ab71c7ac5bcc183a /doc
parenteff5e6b302b14dac025ec31370203740b6eede4e (diff)
WORM backend: When adding a file in a subdirectory, avoid including the subdirectory in the key name.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/WORM_keys_differ_depending_on_working_dir_during_add.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/bugs/WORM_keys_differ_depending_on_working_dir_during_add.mdwn b/doc/bugs/WORM_keys_differ_depending_on_working_dir_during_add.mdwn
index e41220114..9787ad5cc 100644
--- a/doc/bugs/WORM_keys_differ_depending_on_working_dir_during_add.mdwn
+++ b/doc/bugs/WORM_keys_differ_depending_on_working_dir_during_add.mdwn
@@ -55,3 +55,14 @@ $ readlink quux
Linux 3.15.8
git-annex 5.20140716
+
+> This was a bug. I suspect it got broken a while ago and I didn't noticed
+> since I rarely use WORM and when I do it's almost always adding files
+> in the current directory. [[fixed|done]] to take the filename only.
+>
+> I don't think it's a problem to have the subdirectory path in the
+> existing WORM keys, other than the problems you note with this meaning
+> a later add of the same file will generate a different key. So I have not
+> done anything to try to fix up existing keys. (If this became a problem,
+> I could add upgrade code to the WORM backend.)
+> --[[Joey]]