Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Document receive.denyDeleteCurrent
author
Thomas Rast
<trast@student.ethz.ch>
Sat, 24 Jul 2010 16:07:53 +0000
(18:07 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 26 Jul 2010 06:14:19 +0000
(23:14 -0700)
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>
Documentation/config.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5d31475
)
diff --git
a/Documentation/config.txt
b/Documentation/config.txt
index e75434b3ef2d81fa8dafd552d4b689eb84eea441..f81fb918dac03bc6084f84d818ba08caacd39fc1 100644
(file)
--- 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.