Re: Can I forbid somebody to pull some branch or tag from my repo with git protocol?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux