summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes-1.6.3.txt
diff options
context:
space:
mode:
authorFinn Arne Gangstad <finnag@pvv.org>2009-03-16 16:42:52 +0100
committerJunio C Hamano <gitster@pobox.com>2009-03-17 14:50:21 -0700
commit665d3e8f057b90d7b43d70db75b9ac5506bd204d (patch)
tree1523103127b9ff34f0062958681076518cf405cd /Documentation/RelNotes-1.6.3.txt
parent521537476fe99b97bfcdf1b8f0c579061af5fd3e (diff)
downloadgit-665d3e8f057b90d7b43d70db75b9ac5506bd204d.tar.gz
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>
Diffstat (limited to 'Documentation/RelNotes-1.6.3.txt')
-rw-r--r--Documentation/RelNotes-1.6.3.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/RelNotes-1.6.3.txt b/Documentation/RelNotes-1.6.3.txt
index ee1fddb76a..7c02b2a305 100644
--- a/Documentation/RelNotes-1.6.3.txt
+++ b/Documentation/RelNotes-1.6.3.txt
@@ -22,6 +22,13 @@ branch pointed at by its HEAD, gets a large warning. You can choose what
should happen upon such a push by setting the configuration variable
receive.denyDeleteCurrent in the receiving repository.
+In a future release, the default of "git push" without further
+arguments might be changed. Currently, it will push all matching
+refspecs to the current remote. A configuration variable push.default
+has been introduced to select the default behaviour. To ease the
+transition, a big warning is issued if this is not configured and a
+git push without arguments is attempted.
+
Updates since v1.6.2
--------------------