From: Junio C Hamano Date: Fri, 14 Oct 2011 05:01:01 GMT Subject: Re: [PATCH] daemon: return "access denied" if a service is not allowed Message-ID: <7vvcrs181e.fsf@alter.siamese.dyndns.org> In-Reply-To: <20111013182816.GA17573@sigill.intra.peff.net> Jeff King writes: > So if we want to do anything, I would think it would be a hook. Except > that we may or may not have a repo, so it would not be a hook in > $GIT_DIR/hooks, but rather some script to be run passed on the command > line, like: > > git daemon --informative-errors=/path/to/hook I don't think it is necessarily good to have such a variation across hosting sites. Your "something like this" patch looked like it was giving a reasonable level of detail, IMO.