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

Re: The commit-msg hook is not invoked by git-merge as specified in documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2020, 15:11 UTC
Message-ID
<xmqq8sh2rhm5.fsf@gitster.c.googlers.com>
In-Reply-To
<AM0PR08MB553711CE7CE5D39EC2CE8422D7890@AM0PR08MB5537.eurprd08.prod.outlook.com>
Kalle Kromann <kalle.kromann@man-es.com> writes:
> And the git version was the latest available from apt-get in WSL, 2.7.4.
Wow, that's ancient.  

"git merge" started calling commit-msg hook f8b86359 (builtin/merge: honor commit-msg hook for merges, 2017-09-07), which first appeared in 2.15 (from Oct 2017, that is also ancient in Git timescale) IIUC.

Previous: Kalle KromannNext: Kalle Kromann
Message 4 of 5 in “The commit-msg hook is not invoked by git-merge as specified in documentation”
  1. Kalle KromannJun 3, 2020
  2. Junio C HamanoJun 3, 2020
  3. Kalle KromannJun 4, 2020
  4. Junio C HamanoJun 4, 2020
  5. Kalle KromannJun 4, 2020

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.