jreybert / vimagit

Ease your git workflow within Vim
1.31k stars 49 forks source link

issue with .gitmessage template #135

Closed nibrunie closed 7 years ago

nibrunie commented 7 years ago

When using git commit.template, If a change is staged after a commit message has already been started the message template defined in .gitmessage is duplicated in the "Commit message" section.

How to reproduce the bug -> have an explicit git message template defined in an accessible .gitmessage file registered in git commit.template field -> Stage a change -> Start a commit message (e.g. with ) -> Stage an other change => commit.template will be duplicated

bug is visible on branch: next, commit 95f8ad71

jreybert commented 7 years ago

Merged in master and present in release 1.7.2