summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-20 19:37:12 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-20 19:37:12 -0400
commitb036ceb374db88708a81475e07af5d4a64397b3d (patch)
tree936a6d48f1d7399daa0c684f7f3f955021613875 /doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn
parent375ce8f3de7bd31bea57b46c49de40bc1be6cfbe (diff)
fixed nasty data loss bug
I wanted to try to guard against it in Command.Add too, but it's a case of garbage in, garbage out. Once Command.Add has been told it's dealing with a dummy symlink, it goes and deletes it, and even though the object it thinks it points to is not present in the annex, it's Command.Add is still doing the right thing to go ahead and add the broken symlink. So the two fixes I was able to put in will have to do.
Diffstat (limited to 'doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn')
-rw-r--r--doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn b/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn
index 06e0130d9..0252ea683 100644
--- a/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn
+++ b/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn
@@ -94,3 +94,5 @@ lrwxrwxrwx 1 andrew andrew 195 Jul 12 02:20 Expressionlessm.tar -> ../.git
# End of transcript or log.
"""]]
+
+> [[done]]; this bug is now prevented on several levels. --[[Joey]]