Re: Can I forbid somebody to pull some branch or tag from my repo with git protocol?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 17, 2008, 12:25 UTC
- Message-ID
- <alpine.DEB.1.00.0812171322330.28560@intel-tinevez-2-302>
- In-Reply-To
- <856bfe0e0812170115p73d72495ve81046127e68c281@mail.gmail.com>
Hi,
On Wed, 17 Dec 2008, Emily Ren wrote:
> I want some group can pull these branches or tags from my repo, while > other's can't, Need I maintain two repositories ?
Either that (that would be the easy method, and also the proper one, since people would not even know what you hide), but you could patch upload-pack so that it runs a hook with the rev-list arguments in do_rev_list() in upload-pack.c, and die() if the hook returns non-zero.
Ciao, Dscho