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

Re: commit-msg hook does not run on merge with --no-ff option

From
JDJoseph Dunne <jdunne525@gmail.com>
Date
Sep 12, 2017, 18:24 UTC
Message-ID
<CAC7pkbQwn8pvLLCtjsEkKo7PJozycdDbnq2XLWbmOm_KHEjU-w@mail.gmail.com>
In-Reply-To
<CAGZ79kZLvAgSgckQ7Doo_E7aY+L6xtv2Kq0xbO6GSZL5ZAb7TQ@mail.gmail.com>

Sorry I don't understand your question. The commit-msg hook runs properly in all cases except when I perform a merge with the --no-ff option enabled.

On Mon, Sep 11, 2017 at 12:25 PM, Stefan Beller <sbeller@google.com> wrote:
Show 9 quoted lines
> On Mon, Sep 11, 2017 at 7:34 AM, Joseph Dunne <jdunne525@gmail.com> wrote:
>
>> When I merge ... however my commit-msg hook does not run.  (The
>> commit-msg hook works fine in all other commits / merges.)
>
> When using git-commit, but not git-merge?
>
> See the discussion of patches at
> https://public-inbox.org/git/20170907220429.31312-1-sbeller@google.com/
Previous: Stefan BellerNext: Kaartic Sivaraam
Message 3 of 7 in “commit-msg hook does not run on merge with --no-ff option”
  1. Joseph DunneSep 11, 2017
  2. Stefan BellerSep 11, 2017
  3. Joseph DunneSep 12, 2017
  4. Kaartic SivaraamSep 15, 2017
  5. Joseph DunneSep 15, 2017
  6. Junio C HamanoSep 15, 2017
  7. Joseph DunneSep 20, 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.