diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-10-17 15:45:55 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-10-17 15:45:55 -0700 |
| commit | f8aeacfa1f1e7b1f2d7b0c5fbb7becbbc6248183 (patch) | |
| tree | c9d1898aecd8d05574450db74d26c1f2c8d88741 /t | |
| parent | Merge branch 'jk/has-sha1-file-retry-packed' into maint (diff) | |
| parent | Make setup_git_env() resolve .git file when $GIT_DIR is not specified (diff) | |
| download | git-f8aeacfa1f1e7b1f2d7b0c5fbb7becbbc6248183.tar.gz git-f8aeacfa1f1e7b1f2d7b0c5fbb7becbbc6248183.zip | |
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
Diffstat (limited to 't')
| -rwxr-xr-x | t/t0001-init.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh index ad66410564..9fb582b192 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -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 && |
