Merge branch 'mm/simple-push'
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 20:51:24 +0000 (13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 20:51:24 +0000 (13:51 -0700)
New users tend to work on one branch at a time and push the result
out. The current and upstream modes of push is a more suitable default
mode than matching mode for these people, but neither is surprise-free
depending on how the project is set up. Introduce a "simple" mode that
is a subset of "upstream" but only works when the branch is named the same
between the remote and local repositories.

The plan is to make it the new default when push.default is not
configured.

By Matthieu Moy (5) and others
* mm/simple-push:
  push.default doc: explain simple after upstream
  push: document the future default change for push.default (matching -> simple)
  t5570: use explicit push refspec
  push: introduce new push.default mode "simple"
  t5528-push-default.sh: add helper functions
  Undocument deprecated alias 'push.default=tracking'
  Documentation: explain push.default option a bit more

1  2 
Documentation/config.txt
builtin/push.c
cache.h
config.c

Simple merge
diff --cc builtin/push.c
Simple merge
diff --cc cache.h
Simple merge
diff --cc config.c
Simple merge