do_for_each_reflog(): use a strbuf to hold logfile name
[gitweb.git] / t / t9130-git-svn-authors-file.sh
index 3c4f31925fe0498717b56ff95cf42a9a7450a236..c3443ceb251f87806312f4e6dadb54881b52a8fe 100755 (executable)
@@ -95,12 +95,9 @@ test_expect_success 'fresh clone with svn.authors-file in config' '
        (
                rm -r "$GIT_DIR" &&
                test x = x"$(git config svn.authorsfile)" &&
-               HOME="`pwd`" &&
-               export HOME &&
                test_config="$HOME"/.gitconfig &&
-               unset GIT_CONFIG_NOGLOBAL &&
-               unset GIT_DIR &&
-               unset GIT_CONFIG &&
+               sane_unset GIT_DIR &&
+               sane_unset GIT_CONFIG &&
                git config --global \
                  svn.authorsfile "$HOME"/svn-authors &&
                test x"$HOME"/svn-authors = x"$(git config svn.authorsfile)" &&