From a2be4265bf8207c785c7e996e2cc563ac91eb82e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 May 2012 15:19:39 -0400 Subject: add --- doc/bugs/GIT_DIR_support_incomplete.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/GIT_DIR_support_incomplete.mdwn (limited to 'doc') 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]] -- cgit v1.2.3