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

commit hooks on merge

From
KMKurt Milligan <kurt@surfmerchants.com>
Date
Jun 25, 2009, 19:43 UTC
Message-ID
<4A43D37B.20203@surfmerchants.com>
Hi
I asked this in #git, and did a quick Google search to no avail...

According to the docs, merge does an auto-commit, but it seems that the pre/post commit hooks are not run for this commit. Is that intentional? Is there a way I can make them run for the merge commit? I see there is a post-merge hook, but that doesn't really help me if I want to stop the merge...

Thanks in advance
-Kurt
Next: Tim Harper
Message 1 of 3 in “commit hooks on merge”
  1. Kurt MilliganJun 25, 2009
  2. Tim HarperJul 11, 2009
  3. Kurt MilliganJul 11, 2009

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.