Closed tomaswolf closed 7 months ago
Strange... this happens consistently in my main EGit clone. In an another clone this exact sequence produces a commit message that does include the blank line.
This was caused by having a old Gerrit commit-msg hook in the repository where this occurred. The hook runs before JGit tries to add the Change-Id, and somehow this very old hook script forgot the blank line. Removing that old hook script fixed this problem; using a current version of the hook script also works.
So: problem caused by a misconfiguration. It's not a bug in EGit, JGit, or in Gerrit.
Version
6.8.0
Operating System
MacOS
Eclipse version
2023-06
Bug description
Actual behavior
A merge commit is created with commit message
Expected behavior
A merge commit with commit message
is created.
(The commit should have an empty line before the Change-Id footer.)
Relevant log output
No response
Other information
No response