diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-03-17 12:14:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-17 11:07:06 -0700 |
commit | 7d182f52f1a754bdccb2e7c7cea54f773f76bc5c (patch) | |
tree | 276eb373f05c95fc9b4dca19f7034cccb48c7f1c /Documentation | |
parent | bash: complete *_HEAD refs if present (diff) | |
download | tgif-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')
-rw-r--r-- | Documentation/config.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 7103172ed3..437b4ac5ee 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 |