submodule--helper: replace connect-gitdir-workingtree by ensure-core-worktree
[gitweb.git] / t / t1300-config.sh
index 03c223708ebb428125dffb4a9ca273629936ff0c..24706ba4125c44f7c32539dc7bfcbb24f3371462 100755 (executable)
@@ -888,7 +888,7 @@ EOF
 
 test_expect_success !MINGW 'get --path copes with unset $HOME' '
        (
-               unset HOME;
+               sane_unset HOME &&
                test_must_fail git config --get --path path.home \
                        >result 2>msg &&
                git config --get --path path.normal >>result &&