You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Git GUI does not cleanup commit message after editing, which is especially a problem when using commit templates, or in some other cases e.g. after merging when comments appear in the commit message.
I see this issue was actually fixed in Feb 2021 (commit b9a4386) but then reverted straight away in March (commit c0698df).
Do you plan to do the fix again, please?
Btw, executing git -c core.editor=true commit --amend --edit could be used to "post process" just created commit and cleanup it's message. If you'd be willing to accept such solution, I can send it as a patch to the mailinglist. It's very simple, but maybe does not really fit well into git-gui source which only seems to use lower level git plumbing commands.