]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Documentation: receive.denyCurrentBranch defaults to 'refuse'
authorThomas Rast <trast@student.ethz.ch>
Wed, 17 Mar 2010 11:14:57 +0000 (12:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Mar 2010 18:07:06 +0000 (11:07 -0700)
acd2a45 (Refuse updating the current branch in a non-bare repository
via push, 2009-02-11) changed the default to refuse such a push, but
it forgot to update the docs.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt

index 7103172ed30c33f2c7933f530d03ce98c1e4f360..437b4ac5eebb9a7eef600f2fd92ff1103c26e816 100644 (file)
@@ -1442,7 +1442,7 @@ receive.denyCurrentBranch::
        out of sync with the index and working tree. If set to "warn",
        print a warning of such a push to stderr, but allow the push to
        proceed. If set to false or "ignore", allow such pushes with no
-       message. Defaults to "warn".
+       message. Defaults to "refuse".
 
 receive.denyNonFastForwards::
        If set to true, git-receive-pack will deny a ref update which is