summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-01-14 19:14:35 +0000
committerGravatar admin <admin@branchable.com>2014-01-14 19:14:35 +0000
commitce98abc51901443690e41d49d9e0a979d24e3e70 (patch)
tree20c712d64f6a93cc5e4c77b3334d9e5a4e4e34e0
parent730cfd85158478f14d37dbd9ffe2a009e895e756 (diff)
Added a comment
-rw-r--r--doc/forum/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/forum/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment b/doc/forum/Weird_directories_appearing/comment_5_4f3a8e3b0201829059c6e7e0cff0ff75._comment
new file mode 100644
index 000000000..f61b61155
--- /dev/null
+++ b/doc/forum/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!
+"""]]