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

[PATCH 00/10] push: switch default from "matching" to "simple"

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 5, 2013, 06:52 UTC
Message-ID
<1357368788-28035-1-git-send-email-gitster@pobox.com>

We promised to change the behaviour of lazy "git push [there]" that does not say what to push on the command line from "matching" to "simple" in Git 2.0. Even though the top-level RelNotes symbolic link points at 1.8.2, we can change our mind to tag 2.0 at the end of this cycle.

This carries out the threat ;-)

Mmany tests have assumed that the long established default will never change and relied on the convenience of the "matching" behaviour. They need to be updated to either specify what they want from the command line explicitly, or configure the default behaviour they would expect. And then finally we can flip the default.

Junio C Hamano (10):
  t5404: do not assume the "matching" push is the default
  t5505: do not assume the "matching" push is the default
  t5516: do not assume the "matching" push is the default
  t5517: do not assume the "matching" push is the default
  t5519: do not assume the "matching" push is the default
  t5531: do not assume the "matching" push is the default
  t7406: do not assume the "matching" push is the default
  t9400: do not assume the "matching" push is the default
  t9401: do not assume the "matching" push is the default
  push: switch default from "matching" to "simple"
 Documentation/config.txt        |  6 +++---
 builtin/push.c                  | 31 +++++++------------------------
 t/t5404-tracking-branches.sh    |  2 +-
 t/t5505-remote.sh               |  2 +-
 t/t5516-fetch-push.sh           | 10 +++++-----
 t/t5517-push-mirror.sh          |  2 +-
 t/t5519-push-alternates.sh      | 12 ++++++------
 t/t5531-deep-submodule-push.sh  |  1 +
 t/t7406-submodule-update.sh     |  4 ++--
 t/t9400-git-cvsserver-server.sh |  1 +
 t/t9401-git-cvsserver-crlf.sh   |  1 +
 11 files changed, 29 insertions(+), 43 deletions(-)
-- 
1.8.1.299.gc73b41f
Next: Junio C Hamano
Message 1 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.