Community
Participate
Working Groups
Since Eclipse 4.23 the Git Staging view applies some kind of validation on the commit message before you can perform the commit button. In our team, we prepend each commit message with a '#' character, followed by a number and a commit message. This character is usually used as comments in commit messages, so we changed that character into another one in our Git configurations. Unfortunately, Git Staging view ignores that setting always complains that the commit message is still empty, when I fill it with: #12345 This is a meaningful commit message Can I tackle this issue via any configuration or do you have to fix that, first?
core.commentChar is not implemented yet in JGit. It's on my to-do list for 6.2. See also the EGit New & Noteworthy for 6.1[1], which mention this, and which also points out that core.commentChar is not implemented yet. A work-around is to set commit.cleanup=whitespace in the git config: that will _not_ remove comment lines, which gives you behavior more like in EGit 6.0. That is even shown in the video.[2] [1] https://wiki.eclipse.org/EGit/New_and_Noteworthy/6.1#Commit_Messages [2] https://youtu.be/GnNnQY5ujFg?t=739
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/192074
Gerrit change https://git.eclipse.org/r/c/egit/egit/+/192074 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=73a4e4852a7bf52a10e77c0a3aa941eb3987e30a
*** Bug 579739 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/193855
Gerrit change https://git.eclipse.org/r/c/egit/egit/+/193855 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=450232e7ccb234532060c7a88a0eeb104de3cd39