diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index b0289e397ab683c8c5a02ce649d7790d6a876d16..2a38d98cb46ec5392093dc3c0eedf28d6f56c96b 100755 (executable)
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
check_config git-dir-bare.git true unset
'
check_config git-dir-bare.git true unset
'
+test_expect_success 'init --bare' '
+
+ (
+ unset GIT_DIR GIT_WORK_TREE GIT_CONFIG
+ mkdir init-bare.git &&
+ cd init-bare.git &&
+ git init --bare
+ ) &&
+ check_config init-bare.git true unset
+'
+
test_expect_success 'GIT_DIR non-bare' '
(
test_expect_success 'GIT_DIR non-bare' '
(