Closed
Description
Describe the bug
When using gitui to create a commit, commit messages that start with a # are ignored. This is the default behaviour of git however setting the config value core.commentChar
makes the commit message work when using git on the command line, however commiting through gitui the commit message is still stripped out
To Reproduce
Steps to reproduce the behavior:
- Go to a project and make some changes
- Open git UI
- Commit the changes
- In the commit message dialog, use the message "#5123 test"
- Go to the log and the message for that commit is blank
- Make more changes
- Run `git config --global core.commentChar ";"``
- Repeat the above steps
- Same outcome
Expected behavior
The behaviour should match commiting with the command line, where changing the core.commentChar is respected
Context (please complete the following information):
- OS/Distro + Version: Windows 11, 23h2, 22631.3296
- GitUI Version: 0.24.3
- Rust version: 1.75.0