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

Re: Unable to coax hooks into working

From
Jeremiah Foster <jeremiah.foster@pelagicore.com>
Date
Apr 26, 2010, 18:04 UTC
Message-ID
<B65E8227-B3C0-4AB8-A225-4A5661523CAD@pelagicore.com>
Show 6 quoted lines
>> 	We're using debian testing and git 1.7.0.2 with the http-smart backend.
>> 
>> 	What should I do to get hooks working?
> 
> Use the right hook.
> 
I followed that document I listed explicitly. After lining up the right command, the right hook, and the right location, including correct executable bits as well as script ownership, a functioning script was built. Yet when the corresponding git command was called, the command failed to send data to the client which leads me to believe that the hooks wasn't called.

Here is so more information on the http backend I was referring to: progit.org/2010/03/04/smart-http.html And the manual page: www.kernel.org/pub/software/scm/git/docs/git-http-backend.html

Can I confirm that hooks work with this type of transport? 
Jeremiah
Next: Jacob Helwig
Message 1 of 6 in “Re: Unable to coax hooks into working”
  1. Jeremiah FosterApr 26, 2010
  2. Jacob HelwigApr 26, 2010
  3. Jeremiah FosterApr 27, 2010
  4. Michael J GruberApr 27, 2010
  5. Jeremiah FosterApr 27, 2010
  6. Michael J GruberApr 27, 2010

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.