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

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

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Mar 21, 2017, 09:14 UTC
Message-ID
<1f14be35-4688-7d0b-bb84-bfc901dba807@gmail.com>
In-Reply-To
<CAGZ79kY7bCt_3Fse_Qi43Aej=MgN1ABLTx7eLmPCs+aP2e9ZwQ@mail.gmail.com>
On 3/20/2017 18:43, Stefan Beller wrote:
Show 12 quoted lines
>> 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?
>
> In 2.12 RelNotes:
>
>  * "git rebase -i" starts using the recently updated "sequencer" code.

Thanks, that looks like a possible culprit. I can *not* reproduce the issue on Linux with "git version 2.12.1-382-gc0f9c70", thought. So either it's Windows-specific, or it has been fixed in 2.12.1 already.

Regards, Sebastian

Previous: Stefan Beller
Message 3 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.