git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 07/10] t7406: do not assume the "matching" push is the default

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 5, 2013, 06:53 UTC
Message-ID
<1357368788-28035-8-git-send-email-gitster@pobox.com>
In-Reply-To
<1357368788-28035-1-git-send-email-gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 t/t7406-submodule-update.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
index feaec6c..c675ce6 100755
--- a/t/t7406-submodule-update.sh
+++ b/t/t7406-submodule-update.sh
@@ -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
 	)
 '
-- 
1.8.1.299.gc73b41f
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 13 in “push: switch default from "matching" to "simple"”
  1. 00/10 push: switch default from "matching" to "simple"Junio C Hamano, Jan 5, 2013
  2. 01/10 t5404: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  3. 02/10 t5505: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  4. 03/10 t5516: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  5. 04/10 t5517: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  6. 05/10 t5519: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  7. 06/10 t5531: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  8. 07/10 t7406: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  9. 08/10 t9400: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  10. 09/10 t9401: do not assume the "matching" push is the defaultJunio C Hamano, Jan 5, 2013
  11. 10/10 push: switch default from "matching" to "simple"Junio C Hamano, Jan 5, 2013
  12. Matthieu MoyJan 5, 2013
  13. 11/10 doc: push.default is no longer "matching"Junio C Hamano, Jan 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.