Re: [PATCH] Switch receive.denyCurrentBranch to "refuse"
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jan 30, 2009, 07:17 UTC
- Message-ID
- <4982A99C.6070301@viscovery.net>
- In-Reply-To
- <alpine.DEB.1.00.0901300133070.3586@pacific.mpi-cbg.de>
Johannes Schindelin schrieb:
> + error("refusing to update checked out branch: %s\n"
> + "if you know what you are doing, you can allow it by "
> + "setting\n\n"
> + "\tgit config receive.denyCurrentBranch true\n", name);Oh, fscking hell, I should have screamed out loudly when Jeff named this option "denyCurrentBranch" instead of "allowCurrentBranch". It's all too easy to fall into the trap, like you here.
Sigh.
-- J we-don't-need-no-double-negations 6t