2012-05-16 19:19:39 +00:00
|
|
|
`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]]
|
2012-05-18 22:20:53 +00:00
|
|
|
|
|
|
|
> [[fixed|done]] --[[Joey]]
|