Document receive.denyDeleteCurrent
This option was introduced by 747ca24 (receive-pack: receive.denyDeleteCurrent, 2009-02-08) but never documented. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Jul 24, 2010 at 18:07 UTC
662c83ff8ffa714efab5d7d530bd7d4f82e3ef03
1 file changed
+4
Documentation/config.txt
+4
@@ -1558,6 +1558,10 @@ receive.denyDeletes::
1558
If set to true, git-receive-pack will deny a ref update that deletes
1559
the ref. Use this to prevent such a ref deletion via a push.
1560
1561
+receive.denyDeleteCurrent::
1562
+ If set to true, git-receive-pack will deny a ref update that
1563
+ deletes the currently checked out branch of a non-bare repository.
1564
+
1565
receive.denyCurrentBranch::
1566
If set to true or "refuse", git-receive-pack will deny a ref update
1567
to the currently checked out branch of a non-bare repository.