Skip to content

push: switch default from "matching" to "simple"

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10t5404: do not assume the "matching" push is the defaultt/t5404-tracking-branches.sh+1 -10 replies
2/10t5505: do not assume the "matching" push is the defaultt/t5505-remote.sh+1 -10 replies
3/10t5516: do not assume the "matching" push is the defaultt/t5516-fetch-push.sh+5 -50 replies
4/10t5517: do not assume the "matching" push is the defaultt/t5517-push-mirror.sh+1 -10 replies
5/10t5519: do not assume the "matching" push is the defaultt/t5519-push-alternates.sh+6 -60 replies
6/10t5531: do not assume the "matching" push is the defaultt/t5531-deep-submodule-push.sh+1 -00 replies
7/10t7406: do not assume the "matching" push is the defaultt/t7406-submodule-update.sh+2 -20 replies
8/10t9400: do not assume the "matching" push is the defaultt/t9400-git-cvsserver-server.sh+1 -00 replies
9/10t9401: do not assume the "matching" push is the defaultt/t9401-git-cvsserver-crlf.sh+1 -00 replies
10/10push: switch default from "matching" to "simple"Documentation/config.txt builtin/push.c+10 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
1.8.1.299.gc73b41f