git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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,
Previous: Eugene SajineNext: Eugene Sajine
Message 5 of 6 in “git daemon --access-hook problem”
  1. Eugene SajineMay 31, 2013
  2. Eugene SajineJun 3, 2013
  3. Antoine PelisseJun 3, 2013
  4. Eugene SajineJun 3, 2013
  5. Antoine PelisseJun 3, 2013
  6. Eugene SajineJun 3, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.