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