summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-05-16 15:19:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-05-16 15:19:39 -0400
commita2be4265bf8207c785c7e996e2cc563ac91eb82e (patch)
tree9145dc939d897645c11c15474536680ce1d4331b /doc
parentf4b96ee44ef60efa176ad791a6385d5ecf3f2c88 (diff)
add
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/GIT_DIR_support_incomplete.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/bugs/GIT_DIR_support_incomplete.mdwn b/doc/bugs/GIT_DIR_support_incomplete.mdwn
new file mode 100644
index 000000000..d52871df2
--- /dev/null
+++ b/doc/bugs/GIT_DIR_support_incomplete.mdwn
@@ -0,0 +1,15 @@
+`GIT_DIR` support isn't right. Git does not look for `GIT_DIR/.git`;
+git-annex does.
+
+Also, to support this scenario, support for core.worktree needs to be added
+as well:
+
+ mkdir repo workdir
+ git --work-tree=$PWD/workdir --git-dir=$PWD/repo init
+ export GIT_DIR=$PWD/repo
+ git status
+ # ok
+ git annex init "new repo"
+ # fail
+
+--[[Joey]]