Re: [PATCH] daemon: return "access denied" if a service is not allowed
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 14, 2011, 05:01 UTC
- Message-ID
- <7vvcrs181e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20111013182816.GA17573@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> 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.