-
- Downloads
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 '.
Please register or sign in to comment