threads / discuss / 35749

commit-msg hook and merges

Subject: commit-msg hook and merges

## tl;dr

One message between Jan 29, 2014 and Jan 29, 2014.

replies: 0people: 1as markdown or json

Søren Holm· Jan 29, 2014, 10:38 UTC · lore
Hi. 

I'm running a speciallized commit-msg hook to help me fill out commit messages. This all works nicely for alle commits except for merges.

What I normally do to circumvent this is this :
$ git merge somebranch
<here I append to autogenerated message with my own text>
$ git commit --ammend

<I just save the message without changes and the commit-message is run throught my filter>

Is that intentional or an error ?
-- 
Søren Holm

← back to recent threads