push: start warning upcoming default change for push.default
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Sun, 24 Jun 2012 11:01:37 +0000 (13:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2012 04:22:57 +0000 (21:22 -0700)
commitf2c2c90103eaff6f39a289c15b9dbc06efaaf2a8
tree722936c4db251743319a12b5b13dde92e0e4cda6
parentf4d80d2639f8ef55c99c3b035c0312969acc7f01
push: start warning upcoming default change for push.default

In preparation for flipping the default to the "simple" mode from
the "matching" mode that is the historical default, start warning
users when they rely on unconfigured "git push" to default to the
"matching" mode.

Also, advertise for 'simple' where 'current' and 'upstream' are advised.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
t/t5541-http-push.sh