diff options
author | https://www.google.com/accounts/o8/id?id=AItOawn0hu_TPhLcUM1Ivvn7iIoZ_iD3g_5WDcs <Greg@web> | 2014-10-06 19:20:15 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-10-06 19:20:15 +0000 |
commit | 7d7f85c0d3e19afe013e62be91870b322008ee6e (patch) | |
tree | 5611679104d6628852cb0bece66bbc8e9257fcba /doc/bugs/git_annex_add_adds_unlocked_files | |
parent | 2fd5505775b259484c722e5705054e7ab93218c9 (diff) |
Added a comment
Diffstat (limited to 'doc/bugs/git_annex_add_adds_unlocked_files')
-rw-r--r-- | doc/bugs/git_annex_add_adds_unlocked_files/comment_1_0c94bc927dd46b344cf4dada6578f5e9._comment | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_add_adds_unlocked_files/comment_1_0c94bc927dd46b344cf4dada6578f5e9._comment b/doc/bugs/git_annex_add_adds_unlocked_files/comment_1_0c94bc927dd46b344cf4dada6578f5e9._comment new file mode 100644 index 000000000..b82b7fe29 --- /dev/null +++ b/doc/bugs/git_annex_add_adds_unlocked_files/comment_1_0c94bc927dd46b344cf4dada6578f5e9._comment @@ -0,0 +1,55 @@ +[[!comment format=sh + username="https://www.google.com/accounts/o8/id?id=AItOawn0hu_TPhLcUM1Ivvn7iIoZ_iD3g_5WDcs" + nickname="Greg" + subject="comment 1" + date="2014-10-06T19:20:15Z" + content=""" +ubuntu@hostname:~$ cd annex +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...) +ubuntu@hostname:~/annex$ git commit -a -m second +[master 1776b25] second + 2 files changed, 2 insertions(+), 1 deletion(-) + create mode 120000 test2.txt +ubuntu@hostname:~/annex$ tree -d ./git/annex +./git/annex [error opening dir] + +0 directories +ubuntu@hostname:~/annex$ tree -d .git/annex +.git/annex +├── journal +├── objects +│ ├── 8Z +│ │ └── 1J +│ │ └── SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c +│ └── q2 +│ └── Xj +│ └── SHA256-s7--aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f +└── tmp + +9 directories +ubuntu@hostname:~/annex$ ls +test2.txt test.txt +ubuntu@hostname:~/annex$ + + +I'm expecting 3 SHA's in .git/annex, but I only see two. +"""]] |