Add version where add succeeded

This commit is contained in:
andy 2013-07-12 09:47:16 +00:00 committed by admin
parent 302f8f9f8b
commit 8061f4e7e0

View file

@ -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.
"""]]