]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7406: do not assume the "matching" push is the default
authorJunio C Hamano <gitster@pobox.com>
Sat, 5 Jan 2013 00:19:19 +0000 (16:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jan 2013 06:28:41 +0000 (22:28 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7406-submodule-update.sh

index feaec6cdf4b8c7eac348ea1de61887c93c69244d..c675ce62970c14676754082c4c779972196eab1e 100755 (executable)
@@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur
           git log > ../../../expected
          ) &&
          git commit -m "added subsubmodule" &&
-         git push
+         git push origin :
         ) &&
         (cd .git/modules/deeper/submodule/modules/subsubmodule &&
          git log > ../../../../../actual
         ) &&
         git add deeper/submodule &&
         git commit -m "update submodule" &&
-        git push &&
+        git push origin : &&
         test_cmp actual expected
        )
 '