diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-14 15:35:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-14 15:35:09 -0400 |
commit | 44b6bc589b6e2219cd3a4cf57fd2dd30068b2744 (patch) | |
tree | 8dea5dea96a3fa405d3c4ce655bb6262eb7ac008 /doc/bugs/Weird_directories_appearing | |
parent | 73f1fe8df62ee043ebdd8400b02d60eddba4f8cb (diff) |
move bug report out of forum
Diffstat (limited to 'doc/bugs/Weird_directories_appearing')
7 files changed, 95 insertions, 0 deletions
diff --git a/doc/bugs/Weird_directories_appearing/comment_1_989541faf18e476c06e3be94c979e588._comment b/doc/bugs/Weird_directories_appearing/comment_1_989541faf18e476c06e3be94c979e588._comment new file mode 100644 index 000000000..d578c46ef --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_1_989541faf18e476c06e3be94c979e588._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 1" + date="2014-01-13T18:57:48Z" + content=""" +The log file is supposed to be stored by git-annex in the git-annex branch of the git repository. I don't know how it could end up being committed to the master branch instead. + +Can you run these same commands again and reproduce the problem? +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_2_7aedaa3286a827303d90bd660429f0e7._comment b/doc/bugs/Weird_directories_appearing/comment_2_7aedaa3286a827303d90bd660429f0e7._comment new file mode 100644 index 000000000..adeb97d7b --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_2_7aedaa3286a827303d90bd660429f0e7._comment @@ -0,0 +1,43 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnsuhFUIfWNT-Q-C02FDaSQqceFDge5M9w" + nickname="Florian" + subject="comment 2" + date="2014-01-14T12:12:52Z" + content=""" +Yes, I can always reproduce it with running \"sh test_ga.sh\" with test_ga.sh being: + + set -x + + mkdir GA1 + cd GA1 + git init + git annex init \"GA1\" + echo \"GA1\" > testfile + git annex add . + git annex sync + cd .. + + git clone GA1 GA2 + cd GA2 + git annex init \"GA2\" + git annex get . + cat testfile + git annex unlock testfile + echo \"GA2\" > testfile + git annex sync + cd ../GA1 + + git annex sync + cd .. + +which gives: + + florian@horus ~/test % ll GA1 + insgesamt 4 + drwxr-x--- 1 florian florian 6 14. Jan 13:07 e6a/ + lrwxrwxrwx 1 florian florian 178 14. Jan 13:07 testfile -> .git/annex/objects/V6/ZM/SHA256E-s4--241dca52164d30bee7a0be8c097f02e382acff765a9d4136718a37abd437a57c/SHA256E-s4--241dca52164d30bee7a0be8c097f02e382acff765a9d4136718a37abd437a57c + +with testfile being a dead link. Complete output of the script is at http://pastebin.com/VktWAp2V + +I would be glad to help furthermore. +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_3_5d3afa17d1e038c66a2cb6400b74aa41._comment b/doc/bugs/Weird_directories_appearing/comment_3_5d3afa17d1e038c66a2cb6400b74aa41._comment new file mode 100644 index 000000000..fcc9a4ab1 --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_3_5d3afa17d1e038c66a2cb6400b74aa41._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 3" + date="2014-01-14T18:55:11Z" + content=""" +This script does not produce the problem for me. How did you install git-annex from the tarball? +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_4_8db476bc89d3b9b1fdd82624829b4975._comment b/doc/bugs/Weird_directories_appearing/comment_4_8db476bc89d3b9b1fdd82624829b4975._comment new file mode 100644 index 000000000..9d99f91f5 --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_4_8db476bc89d3b9b1fdd82624829b4975._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 4" + date="2014-01-14T19:00:33Z" + content=""" +Actually, I was able to reproduce this using the standalone tarball and runshell. +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment b/doc/bugs/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment new file mode 100644 index 000000000..f61b61155 --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 5" + date="2014-01-14T19:14:35Z" + content=""" +Analysis: pre-commit hook is run with `GIT_INDEX_FILE=.git/index.lock`; this seems to be causing git-annex branch commits to land in that index file instead of where they are supposed to go. Also, commits of the files in the work tree also end up adding the symlinks to the git-annex branch when this happens. Apparantly because again it's using the wrong index file when committing to the git-annex branch. + +So, an easy workaround (disable pre-commit hook or make it `unset GIT_INDEX_FILE`, but I need to dig into why this env var is messing with git-annex like this.. I thought git-annex set the env var itself! +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_6_1c3218c8858397acc0e9fd718d7fd973._comment b/doc/bugs/Weird_directories_appearing/comment_6_1c3218c8858397acc0e9fd718d7fd973._comment new file mode 100644 index 000000000..c7dc6c274 --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_6_1c3218c8858397acc0e9fd718d7fd973._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 6" + date="2014-01-14T19:16:15Z" + content=""" +Problem is that git-annex prepends `GIT_INDEX_FILE` to the environment; it does not overwrite it. So environment ends up with 2 copies of the var, and which will be used is undefined. +"""]] diff --git a/doc/bugs/Weird_directories_appearing/comment_7_9d055063f58042ff048c5b71e9e67f6e._comment b/doc/bugs/Weird_directories_appearing/comment_7_9d055063f58042ff048c5b71e9e67f6e._comment new file mode 100644 index 000000000..3ca131f5d --- /dev/null +++ b/doc/bugs/Weird_directories_appearing/comment_7_9d055063f58042ff048c5b71e9e67f6e._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.43" + subject="comment 7" + date="2014-01-14T19:33:28Z" + content=""" +I have fixed this in git. I will be moving this thread from the forum to the bug report tracker. +"""]] |