Merge branch 'mm/simple-push'
commita3db8511b79c1a169c70caf07cedf21358101c60
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 20:51:24 +0000 (2 13:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 20:51:24 +0000 (2 13:51 -0700)
tree30833024bfe2acb6f13ca75c557ade5f567fcaac
parentd4a5d872c05057c415347896bd416006153e4b03
parentf4d80d2639f8ef55c99c3b035c0312969acc7f01
Merge branch 'mm/simple-push'

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
Documentation/config.txt
builtin/push.c
cache.h
config.c