diff options
-rw-r--r-- | doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn | 32 |
1 files changed, 31 insertions, 1 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 a8c261f17..06e0130d9 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 @@ -1,5 +1,5 @@ ### Please describe the problem. -Using git-annex from Debian (4.20130709), I attempted to add a 410M file named `Expressionlessm.tar`. It acted like it succeed, but the link it created was broken. Other files would add correctly. +Using git-annex from Debian (4.20130709), I attempted to add a 410M file named `Expressionlessm.tar`. It acted like it succeeded, but the link it created was broken. Other files would add correctly. ### What steps will reproduce the problem? I can reliably cause the file to be removed and replaced with a dangling symlink by doing `git annex add Expressionlessm.tar`. The "addition" completes much faster than normal. Using the old version of git-annex that Ubuntu provides (3.20131112ubuntu4), the file adds correctly in at least one place it was having issues. @@ -62,5 +62,35 @@ lrwxrwxrwx 1 andrew andrew 109 Jul 12 02:29 Expressionlessm.tar -> ../.git andrew@andrew-desktop:/media/MainStore/Projects$ tar tf Expressionlessm.tar tar: Expressionlessm.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now + + +================================================================= +W O R K I N G V E R S I O N +This is what it looks like when the add works. +================================================================= +andrew@andrew-desktop:/media/MainStore/Projects$ cp Expressionlessm.tar.bkup Expressionlessm.tar +andrew@andrew-desktop:/media/MainStore/Projects$ git annex add Expressionlessm.tar +add Expressionlessm.tar (checksum...) ok +(Recording state in git...) +andrew@andrew-desktop:/media/MainStore/Projects$ git status +# On branch master +# Changes to be committed: +# (use "git reset HEAD <file>..." to unstage) +# +# new file: Expressionlessm.tar +# +# Untracked files: +==========Snip!================= + + + +andrew@andrew-desktop:/media/MainStore/Projects$ ls -l +==========Snip!================= +lrwxrwxrwx 1 andrew andrew 195 Jul 12 02:20 Expressionlessm.tar -> ../.git/annex/objects/3v/Z7/SHA256-s428759040--133040f7b9d34ebce235aa24a0a16ab72af8f70e7a0722810d873815a2338eb2/SHA256-s428759040--133040f7b9d34ebce235aa24a0a16ab72af8f70e7a0722810d873815a2338eb2 +-rw-rw-r-- 1 andrew andrew 428759040 Jul 10 20:30 Expressionlessm.tar.bkup +==========Snip!================= +# Notice the link target is different this time. + + # End of transcript or log. """]] |