From: Eugene Sajine Date: Mon, 03 Jun 2013 20:00:14 GMT Subject: Re: git daemon --access-hook problem Message-ID: In-Reply-To: Right, --informative-errors does make it better;) Actually the CWD for the access-hook is not where the hook script is, but inside the .git folder of the target repo. GTK. and yes, definitely some documentation improvements needed;) Thanks! On Mon, Jun 3, 2013 at 3:05 PM, Antoine Pelisse wrote: > On Mon, Jun 3, 2013 at 8:02 PM, Eugene Sajine wrote: >> 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,