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
Stefan Beller <sbeller@google.com>
Date
Mar 20, 2017, 17:43 UTC
Message-ID
<CAGZ79kY7bCt_3Fse_Qi43Aej=MgN1ABLTx7eLmPCs+aP2e9ZwQ@mail.gmail.com>
In-Reply-To
<oaotoa$qkp$1@blaine.gmane.org>

On Mon, Mar 20, 2017 at 8:50 AM, Sebastian Schuberth <sschuberth@gmail.com> wrote:

Show 15 quoted lines
> 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?
In 2.12 RelNotes:
 * "git rebase -i" starts using the recently updated "sequencer" code.
+cc Johannes
Previous: Sebastian SchuberthNext: Sebastian Schuberth
Message 2 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.