Merge branch 'jk/config-warn-on-inaccessible-paths'
[gitweb.git] / t / t5541-http-push.sh
index 312e484090d1ceb392399768f2229ae553182fe7..624633aced58169ac1b821fb44d3ad5f25996894 100755 (executable)
@@ -64,7 +64,10 @@ test_expect_success 'no empty path components' '
 
 test_expect_success 'clone remote repository' '
        rm -rf test_repo_clone &&
-       git clone $HTTPD_URL/smart/test_repo.git test_repo_clone
+       git clone $HTTPD_URL/smart/test_repo.git test_repo_clone &&
+       (
+               cd test_repo_clone && git config push.default matching
+       )
 '
 
 test_expect_success 'push to remote repository (standard)' '