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

problem with Documentation/hooks.txt

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Jan 7, 2007, 11:13 UTC
Message-ID
<200701071113.51597.alan@chandlerfamily.org.uk>

I was just looking at the documentation of the post-commit hook in order to fix a problem on one of my repositories and I came across this:-

"The default 'post-commit' hook, when enabled, demonstrates how to send out a commit notification e-mail."

So I went looking in the templates/hooks--post-commit file and it has nothing (literally :-) ).

and as far as I can see looking over git's history it has always been like that.

I don't have an example to submit a patch - but I am sure lots of people have done something like that and could provide one.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Next: Martin Waitz
Message 1 of 4 in “problem with Documentation/hooks.txt”
  1. Alan ChandlerJan 7, 2007
  2. Martin WaitzJan 7, 2007
  3. Alan ChandlerJan 7, 2007
  4. Nicolas VilzJan 7, 2007

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.