LinusU / emoji-commit

44 stars 6 forks source link

🐛 Launch default editor for merge commit message #22

Closed albinekb closed 1 year ago

albinekb commented 1 year ago

When running git merge, 99% of the time i want to use the default message, this change makes it so merge messages are edited with default editor. Before this change, emoji-commit errored with

error: Invalid value for '<out-path>': Must end with one of the following: 
    .git/COMMIT_EDITMSG
    .git/rebase-merge/git-rebase-todo
    .git/addp-hunk-edit.diff
Got the following path: "<repo>/.git/MERGE_MSG"
error: There was a problem with the editor 'emoji-commit'.
Not committing merge; use 'git commit' to complete the merge.