X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fconfig.txt;h=f81fb918dac03bc6084f84d818ba08caacd39fc1;hb=443938df7ba6ca8c5ad50b7b061ece8116496985;hp=e75434b3ef2d81fa8dafd552d4b689eb84eea441;hpb=24e7a5be373c95f977bab4f0f41f736bb1d25075;p=git.git 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.