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

Regression: Reword during rebase -i does not seem to trigger commit-msg hook anymore

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Mar 20, 2017, 15:50 UTC
Message-ID
<oaotoa$qkp$1@blaine.gmane.org>
Hi,
I'm using

$ git --version git version 2.12.0.windows.1

With this version, when I do a "reword" during an inteactive rebase session, the commit-msg hook doe snot seem to be triggered anymore. This was particularly useful to let Gerrit's commit-msg hook add missing ChangeId footers.

I can work-aorund the issue by doing an "edit" and "commit --amend".
Is anyone else seeing this?

Regards, Sebastian

Next: Stefan Beller
Message 1 of 3 in “Regression: Reword during rebase -i does not seem to trigger commit-msg hook anymore”
  1. Sebastian SchuberthMar 20, 2017
  2. Stefan BellerMar 20, 2017
  3. Sebastian SchuberthMar 21, 2017

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.