Making pathspec limited log play nicer with --first-parent
[gitweb.git] / t / t5505-remote.sh
index 15186c8cbfa7a3c7409033a26cdfd16835e1c7cd..e8af615e6dcdf365416ef9f71825c17a0d601186 100755 (executable)
@@ -637,7 +637,8 @@ test_expect_success 'rename does not update a non-default fetch refspec' '
        (cd four.one &&
         git config remote.origin.fetch +refs/heads/*:refs/heads/origin/* &&
         git remote rename origin upstream &&
-        test "$(git config remote.upstream.fetch)" = "+refs/heads/*:refs/heads/origin/*")
+        test "$(git config remote.upstream.fetch)" = "+refs/heads/*:refs/heads/origin/*" &&
+        git rev-parse -q origin/master)
 
 '