{"thread":{"id":"23045","subject":"[PATCH] Documentation: receive.denyCurrentBranch defaults to 'refuse'","startedAt":"2010-03-17T11:14:57Z","lastAt":"2010-03-17T11:14:57Z","messageCount":1,"participants":["Thomas Rast"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"136995","messageId":"601e919ea039016fb58543eeee6717a03bf453d5.1268824465.git.trast@student.ethz.ch","threadId":"23045","inReplyTo":null,"subject":"[PATCH] Documentation: receive.denyCurrentBranch defaults to 'refuse'","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2010-03-17T11:14:57Z","receivedAt":"2010-03-17T11:14:57Z","isPatch":true,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"acd2a45 (Refuse updating the current branch in a non-bare repository\nvia push, 2009-02-11) changed the default to refuse such a push, but\nit forgot to update the docs.\n\nSigned-off-by: Thomas Rast <trast@student.ethz.ch>\n---\n\n\n Documentation/config.txt |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 48d8825..b3b6544 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -1535,7 +1535,7 @@ receive.denyCurrentBranch::\n \tout of sync with the index and working tree. If set to \"warn\",\n \tprint a warning of such a push to stderr, but allow the push to\n \tproceed. If set to false or \"ignore\", allow such pushes with no\n-\tmessage. Defaults to \"warn\".\n+\tmessage. Defaults to \"refuse\".\n \n receive.denyNonFastForwards::\n \tIf set to true, git-receive-pack will deny a ref update which is\n-- \n1.7.0.2.454.gdb120\n"}]}