Re: [PATCH] daemon: --access-hook option

2012-08-21 Thread Michal Novotny
Right, this approach of having ACL using the --access-hook option looks much better. At least you got inspired this could be useful for somebody ;-) Michal On 08/15/2012 07:12 AM, Junio C Hamano wrote: > The --access-hook option to "git daemon" specifies an external > command to be run every time

Re: [PATCH] daemon: --access-hook option

2012-08-15 Thread Shawn Pearce
On Tue, Aug 14, 2012 at 10:12 PM, Junio C Hamano wrote: > The --access-hook option to "git daemon" specifies an external > command to be run every time a client connects, with > > - service name (e.g. "upload-pack", etc.), > - path to the repository, > - hostname (%H), > - canonical hostname (

[PATCH] daemon: --access-hook option

2012-08-14 Thread Junio C Hamano
The --access-hook option to "git daemon" specifies an external command to be run every time a client connects, with - service name (e.g. "upload-pack", etc.), - path to the repository, - hostname (%H), - canonical hostname (%CH), - ip address (%IP), - tcp port (%P) as its command line argum