]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0001-init.sh
Merge branch 'sb/object-store-lookup'
[thirdparty/git.git] / t / t0001-init.sh
index 4c865051e7dd3d27eee0e2666b4aaaaa46116d5c..ca85aae51ed1c528d1b93e7fea5f53ecb8095851 100755 (executable)
@@ -408,7 +408,7 @@ is_hidden () {
 test_expect_success MINGW '.git hidden' '
        rm -rf newdir &&
        (
-               unset GIT_DIR GIT_WORK_TREE
+               sane_unset GIT_DIR GIT_WORK_TREE &&
                mkdir newdir &&
                cd newdir &&
                git init &&
@@ -420,7 +420,7 @@ test_expect_success MINGW '.git hidden' '
 test_expect_success MINGW 'bare git dir not hidden' '
        rm -rf newdir &&
        (
-               unset GIT_DIR GIT_WORK_TREE GIT_CONFIG
+               sane_unset GIT_DIR GIT_WORK_TREE GIT_CONFIG &&
                mkdir newdir &&
                cd newdir &&
                git --bare init