diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-01 22:54:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-01 22:54:16 -0700 |
commit | 68100531547f9abd00362e31282155efdc040a4c (patch) | |
tree | 1d10153dcea0a279386adaf5667bbc0d4a61a34f /t | |
parent | 32d8050a86f8de0253430b12711354e66a317f29 (diff) | |
parent | 74d3b23fe3771c769ccd5c97f6a46682b4061577 (diff) | |
download | git-68100531547f9abd00362e31282155efdc040a4c.tar.gz git-68100531547f9abd00362e31282155efdc040a4c.tar.xz |
Merge branch 'lr/init-bare'
* lr/init-bare:
git-init: accept --bare option
Diffstat (limited to 't')
-rwxr-xr-x | t/t0001-init.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh index b0289e397..d31887f9b 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -79,6 +79,17 @@ test_expect_success 'GIT_DIR bare' ' check_config git-dir-bare.git true unset ' +test_expect_success 'init --bare' ' + + ( + unset GIT_DIR GIT_WORK_TREE GIT_CONFIG + mkdir git-init-bare.git && + cd git-init-bare.git && + git init --bare + ) && + check_config git-init-bare.git true unset +' + test_expect_success 'GIT_DIR non-bare' ' ( |