author | Finn Arne Gangstad <finnag@pvv.org> | |
Mon, 16 Mar 2009 15:42:52 +0000 (16:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Mar 2009 21:50:21 +0000 (14:50 -0700) | ||
commit | 665d3e8f057b90d7b43d70db75b9ac5506bd204d | |
tree | 1523103127b9ff34f0062958681076518cf405cd | tree | snapshot |
parent | 521537476fe99b97bfcdf1b8f0c579061af5fd3e | commit | diff |
Display warning for default git push with no push.default config
If a git push without any refspecs is attempted, display a warning.
The current default behavior is to push all matching refspecs, which
may come as a surprise to new users, so the warning shows how
push.default can be configured and what the possible values are.
Traditionalists who wish to keep the current behaviour are also told
how to configure this once and never see the warning again.
Signed-off-by: Finn Arne Gangstad <finnag@pvv.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If a git push without any refspecs is attempted, display a warning.
The current default behavior is to push all matching refspecs, which
may come as a surprise to new users, so the warning shows how
push.default can be configured and what the possible values are.
Traditionalists who wish to keep the current behaviour are also told
how to configure this once and never see the warning again.
Signed-off-by: Finn Arne Gangstad <finnag@pvv.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/RelNotes-1.6.3.txt | diff | blob | history | |
builtin-push.c | diff | blob | history |