# commit-msg hook and merges

1 messages from 2014-01-29 to 2014-01-29. Participants: Søren Holm.
Thread: https://gitlist.dev/t/35749

## Søren Holm, 2014-01-29 10:38

Subject: commit-msg hook and merges
Message-ID: <2590624.EqnRJC0pBH@koontz>
URL: https://gitlist.dev/e/2590624.EqnRJC0pBH%40koontz

```
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

```
