aboutsummaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-03-17 12:14:57 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-17 11:07:06 -0700
commit7d182f52f1a754bdccb2e7c7cea54f773f76bc5c (patch)
tree276eb373f05c95fc9b4dca19f7034cccb48c7f1c /Documentation/config.txt
parentd23e7570a764d5e3fd033b7586bb4924d2774370 (diff)
downloadgit-7d182f52f1a754bdccb2e7c7cea54f773f76bc5c.tar.gz
git-7d182f52f1a754bdccb2e7c7cea54f773f76bc5c.tar.xz
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>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 7103172ed..437b4ac5e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -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