Gonzalo Garramuño <ggarra@xxxxxxxxxxxxxxxxx> writes: > David Symonds wrote: >> >> You can do arbitrarily-fine-grained authentication via the >> pre-receive hook. >> > > Can you provide some more info? Looking at the kernel.org git docs, > the pre-receive hook seems very limited as no parameters are allowed. > So I'm not sure how an authentication system could be created. > > It also seems to be a push hook only (not invoked on pulls). Some of read-only (fetch only) access protocols do not support authentication: http, ftp, rsync, git. Authentication is provided only for access via ssh and for push via https (WebDAV). There is example update hook in contrib/hooks, named update-paranoid, which could be base of what you want. Note that you probably rather use newer pre-receive hook instead of older update hook. AFAIK both update and pre-receive hooks are invoked also on fetch... but I might be mistaken. -- Jakub Narebski Poland ShadeHawk on #git - 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