From: Johannes Schindelin Date: Wed, 17 Dec 2008 12:25:59 GMT Subject: Re: Can I forbid somebody to pull some branch or tag from my repo with git protocol? Message-ID: 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