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

[PATCH 05/10] t5519: 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-6-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/t5519-push-alternates.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/t/t5519-push-alternates.sh b/t/t5519-push-alternates.sh
index c00c9b0..11fcd37 100755
--- a/t/t5519-push-alternates.sh
+++ b/t/t5519-push-alternates.sh
@@ -40,7 +40,7 @@ test_expect_success 'alice works and pushes' '
 		cd alice-work &&
 		echo more >file &&
 		git commit -a -m second &&
-		git push ../alice-pub
+		git push ../alice-pub :
 	)
 '
 
@@ -57,7 +57,7 @@ test_expect_success 'bob fetches from alice, works and pushes' '
 		git pull ../alice-pub master &&
 		echo more bob >file &&
 		git commit -a -m third &&
-		git push ../bob-pub
+		git push ../bob-pub :
 	) &&
 
 	# Check that the second commit by Alice is not sent
@@ -86,7 +86,7 @@ test_expect_success 'alice works and pushes again' '
 		cd alice-work &&
 		echo more alice >file &&
 		git commit -a -m fourth &&
-		git push ../alice-pub
+		git push ../alice-pub :
 	)
 '
 
@@ -99,7 +99,7 @@ test_expect_success 'bob works and pushes' '
 		cd bob-work &&
 		echo yet more bob >file &&
 		git commit -a -m fifth &&
-		git push ../bob-pub
+		git push ../bob-pub :
 	)
 '
 
@@ -115,7 +115,7 @@ test_expect_success 'alice works and pushes yet again' '
 		git commit -a -m sixth.2 &&
 		echo more and more alice >>file &&
 		git commit -a -m sixth.3 &&
-		git push ../alice-pub
+		git push ../alice-pub :
 	)
 '
 
@@ -136,7 +136,7 @@ test_expect_success 'bob works and pushes again' '
 		git hash-object -t commit -w commit &&
 		echo even more bob >file &&
 		git commit -a -m seventh &&
-		git push ../bob-pub
+		git push ../bob-pub :
 	)
 '
 
-- 
1.8.1.299.gc73b41f
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 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.