blob: d52871df294824eeb1f665d9ee40ccbe316400f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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]]
|