This commit is contained in:
parent
81c8a089ed
commit
721d52dbb5
1 changed files with 39 additions and 0 deletions
39
doc/bugs/git_annex_add_adds_unlocked_files.mdwn
Normal file
39
doc/bugs/git_annex_add_adds_unlocked_files.mdwn
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
### Please describe the problem.
|
||||||
|
|
||||||
|
git annex add . should ignore unlocked files
|
||||||
|
|
||||||
|
### What steps will reproduce the problem?
|
||||||
|
|
||||||
|
ubuntu@hostname:~/annex$ git init
|
||||||
|
Initialized empty Git repository in /home/ubuntu/annex/.git/
|
||||||
|
ubuntu@hostname:~/annex$ git annex init
|
||||||
|
init ok
|
||||||
|
ubuntu@hostname:~/annex$ echo foo > test.txt
|
||||||
|
ubuntu@hostname:~/annex$ git annex add .
|
||||||
|
add test.txt (checksum...) ok
|
||||||
|
(Recording state in git...)
|
||||||
|
ubuntu@hostname:~/annex$ git commit -a -m first
|
||||||
|
[master (root-commit) fe54856] first
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
create mode 120000 test.txt
|
||||||
|
ubuntu@hostname:~/annex$ git annex unlock test.txt
|
||||||
|
unlock test.txt (copying...) ok
|
||||||
|
ubuntu@hostname:~/annex$ echo foobar > test.txt
|
||||||
|
ubuntu@hostname:~/annex$ echo foo > test2.txt
|
||||||
|
ubuntu@hostname:~/annex$ git annex add .
|
||||||
|
add test2.txt (checksum...) ok
|
||||||
|
add test.txt (checksum...) ok <==================================================
|
||||||
|
(Recording state in git...)
|
||||||
|
|
||||||
|
### What version of git-annex are you using? On what operating system?
|
||||||
|
|
||||||
|
|
||||||
|
### Please provide any additional information below.
|
||||||
|
|
||||||
|
[[!format sh """
|
||||||
|
# If you can, paste a complete transcript of the problem occurring here.
|
||||||
|
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
|
||||||
|
|
||||||
|
|
||||||
|
# End of transcript or log.
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue