Sublime Forum

Commit message starting with # character are aborted due to empty commit message

#1

Hi,

as stated in the topic, all commit messages that are started with hash character (#) are aborted.

Steps to reproduce:

  1. Stage some changes.
  2. Type following commit message: #123456 - test.
  3. Press Commit button.
0 Likes

#2

Probably because # is the default comment character in git.

You can change that:

0 Likes

#3

I encountered the same issue.
When using git from the CLI, it worked well because I went with the git config core.commentChar “@” approach.
Seems like Sublime Merge does not take that into account!

0 Likes

#4

After some more testing I indeed see that the comment character seems to be ignored by Sublime Merge

0 Likes