tests: factor HOME=$(pwd) in test-lib.sh
[git.git] / t / t5601-clone.sh
index 8abb71afcd4d7389260baa6f82ecb9b53bb9524c..8617965ec05d7d8789bcc455011650ad76cc7f2a 100755 (executable)
@@ -163,8 +163,6 @@ test_expect_success 'clone a void' '
 
 test_expect_success 'clone respects global branch.autosetuprebase' '
        (
-               HOME=$(pwd) &&
-               export HOME &&
                test_config="$HOME/.gitconfig" &&
                unset GIT_CONFIG_NOGLOBAL &&
                git config -f "$test_config" branch.autosetuprebase remote &&