From: Thomas Rast Date: Sat, 24 Jul 2010 16:07:53 +0000 (+0200) Subject: Document receive.denyDeleteCurrent X-Git-Tag: v1.7.2.1~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=662c83ff8ffa714efab5d7d530bd7d4f82e3ef03;p=git.git Document receive.denyDeleteCurrent This option was introduced by 747ca24 (receive-pack: receive.denyDeleteCurrent, 2009-02-08) but never documented. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/Documentation/config.txt b/Documentation/config.txt index e75434b3e..f81fb918d 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1558,6 +1558,10 @@ receive.denyDeletes:: If set to true, git-receive-pack will deny a ref update that deletes the ref. Use this to prevent such a ref deletion via a push. +receive.denyDeleteCurrent:: + If set to true, git-receive-pack will deny a ref update that + deletes the currently checked out branch of a non-bare repository. + receive.denyCurrentBranch:: If set to true or "refuse", git-receive-pack will deny a ref update to the currently checked out branch of a non-bare repository.