@matheusbsbs / matheus-bagliano / commits / 7d182f52f1
Fork 0

Documentation: receive.denyCurrentBranch defaults to 'refuse'

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>

Thomas Rast committed Mar 17, 2010 at 12:14 UTC 7d182f52f1a754bdccb2e7c7cea54f773f76bc5c
1 file changed +1 -1
Documentation/config.txt
+1 -1
@@ -1442,7 +1442,7 @@ receive.denyCurrentBranch::
1442 out of sync with the index and working tree. If set to "warn",
1443 print a warning of such a push to stderr, but allow the push to
1444 proceed. If set to false or "ignore", allow such pushes with no
1445 - message. Defaults to "warn".
1445 + message. Defaults to "refuse".
1446
1447 receive.denyNonFastForwards::
1448 If set to true, git-receive-pack will deny a ref update which is