Skip to content

Commit

Permalink
Documentation: receive.denyCurrentBranch defaults to 'refuse'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Mar 17, 2010
1 parent d23e757 commit 7d182f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d182f5

Please sign in to comment.