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

hooks not fired by a merge's auto-commit

From
RBRichard Bronosky <richard@bronosky.com>
Date
Jul 29, 2010, 01:25 UTC
Message-ID
<AANLkTindr-y0uAu46FVEqtB5BLw9ZjB0y0ETwmW+8+PV@mail.gmail.com>

Using git 1.7.1 it seems that a merge (more specifically the auto-commit) does not fire any of the following hooks: pre-commit prepare-commit-msg commit-msg

Is that by design? Would it be folly to try to patch that behavior?

I humbly request your input before I go trying to "correct" this behavior.
-- 
.!# RichardBronosky #!.
Next: Junio C Hamano
Message 1 of 3 in “hooks not fired by a merge's auto-commit”
  1. Richard BronoskyJul 29, 2010
  2. Junio C HamanoJul 29, 2010
  3. Jay SoffianAug 1, 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.