-
-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Description
Summary
Add support for the core.commentChar configuration option, which sets the character used to prefix comments in commit messages.
Description
The core.commentChar option allows users to customize the character used to mark comment lines in commit message templates and interactive operations. By default, Git uses '#', but this can be changed to avoid conflicts with commit message content.
Benefits
- Allows customization of comment character in commit messages
- Prevents conflicts when commit messages contain the default '#' character
- Improves user experience in interactive Git operations
- Essential for projects that use '#' extensively in commit messages
Implementation Notes
This would involve updating commit message parsing and template generation to use the configured comment character instead of the hardcoded '#'.