Re: denying branch creation in a shared repository
- From
Howard Miller <howard@e-learndesign.co.uk>
- Date
- Oct 19, 2009, 10:08 UTC
- Message-ID
- <26ae428a0910190308t3233debdjfc0c8beedb9c0ac6@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0910191155310.4985@pacific.mpi-cbg.de>
Hi,
I'm quite interested in this too but I can't see what that patch does at all. I'm unsure what the 'mob' account is but a search suggests it's something to do with anonymous access, which doesn't seem to make any sense.
Can you explain?
Thanks!
2009/10/19 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
Show 23 quoted lines
> Hi, > > On Mon, 19 Oct 2009, Mohit Aron wrote: > >> I'm setting up a shared repository and I'd like to prevent users from >> creating branches in it (they can of course create local branches in >> their own clone of this repository). How can I accomplish this ? I >> looked at 'git help config' and it seems I need something similar to the >> parameter receive.denyDeletes - this prevents deletion of branches. > > The easiest way to accomplish things is to look who had the same problem > and solved it: > > http://repo.or.cz/w/repo.git?a=blob;f=update-hook;h=98b419ecad61f6c80f;hb=6f92e96db0d605bed50db99029172607af301792#l16 > > Hth, > Dscho > > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >