Re: git daemon --access-hook problem
- From
Antoine Pelisse <apelisse@gmail.com>
- Date
- Jun 3, 2013, 19:05 UTC
- Message-ID
- <CALWbr2ynF425qfCNr_NGH8z9UiX2G2CRrWiCo2XrgBLBbyPHMw@mail.gmail.com>
- In-Reply-To
- <CAPZPVFYdeuusW3=iBTBC+iPuOeAekvtMx6d_dozB9tsDCg3C8Q@mail.gmail.com>
On Mon, Jun 3, 2013 at 8:02 PM, Eugene Sajine <euguess@gmail.com> wrote:
Show 7 quoted lines
> Would you be able to advise how this should be done? > I don't get the error message (i mean the output of pwd) if i do this: > > echo `pwd` > exit 1 > > What should it be?
Actually, after digging into the code, it looks like you need to call git-daemon with "--informative-errors" if you want to allow custom errors. Maybe there is place for improvement in the documentation.
Cheers,