eclipse-egit / egit

EGit, the git integration of Eclipse IDE

Home Page:https://www.eclipse.org/egit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't commit a message starting with GitHub identifier (#)

basilevs opened this issue · comments

Version

6.8.0

Operating System

MacOS

Eclipse version

2024-03

Bug description

Test steps

Change any file
Add the file to Staged changes
Enter commit message in Staging view:

#882 Style fixes

Hit commit button

Actual behavior

A modal dialog "No message" with a message: "You must enter a commit message"
Screenshot 2024-01-23 at 00 06 16

Expected behavior

Commit succeeds

Relevant log output

No response

Other information

While pretty-printing comment in commit message might be useful, use of popular issue reference format is much more important.

That's configurable using the option commit.cleanup. It you set it to whitespace lines starting with # aren't removed.