Commit [11679f]  Maximize  Restore  History

commit-msg: Remove MERGE_HEAD check from msg_is_merge

When using "git commit --amend" to edit a merge commit message the
MERGE_HEAD is long gone. Also, some Git versions remove this file
before the commit-msg hook is called. In either case we should still
allow long summary lines that start in 'Merge ' just as we do for
'Revert '.

Ben Boeckel Ben Boeckel 2013-04-16

Brad King Brad King 2013-04-16

changed commit-msg
commit-msg Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks