Merge branch 'nd/git-dir-pointing-at-gitfile' into maint
* nd/git-dir-pointing-at-gitfile: Make setup_git_env() resolve .git file when $GIT_DIR is not specified
This commit is contained in:
@ -379,6 +379,10 @@ test_expect_success 'init with separate gitdir' '
|
||||
test -d realgitdir/refs
|
||||
'
|
||||
|
||||
test_expect_success 're-init on .git file' '
|
||||
( cd newdir && git init )
|
||||
'
|
||||
|
||||
test_expect_success 're-init to update git link' '
|
||||
(
|
||||
cd newdir &&
|
||||
|
Reference in New Issue
Block a user