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