Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with .gitmessage template #135

Closed
nibrunie opened this issue Apr 21, 2017 · 1 comment
Closed

issue with .gitmessage template #135

nibrunie opened this issue Apr 21, 2017 · 1 comment
Labels

Comments

@nibrunie
Copy link

nibrunie commented Apr 21, 2017

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

@jreybert jreybert added the bug label Apr 21, 2017
@nibrunie nibrunie changed the title issue with .gitmessage template bug issue with .gitmessage template Apr 21, 2017
jreybert added a commit that referenced this issue May 23, 2017
On refresh, fill commit message my default one if empty, or current one, not both

fix #135
@jreybert
Copy link
Owner

jreybert commented Aug 8, 2017

Merged in master and present in release 1.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants