Describe the bug
My name and corporate e-mail address are quite long, resulting in a sign-off line longer than autoWrapWidth. Therefore a linebreak is being added between my name and my e-mail.
It does not happen when the sign-off is automatically added, but when the commit message gets edited (for example, doing a "commit reword").
To Reproduce
Steps to reproduce the behavior:
- Make sure that
autoWrapCommitMessage is set to true
- Find out your
autoWrapWidth (either the default 72 or your own configuration)
- Configure a git repository with an author name and e-mail that result in a sign-off longer that the configured
autoWrapWidth
- Create a commit
- Reword the commit (marking the commit and pressing
r)
- Observe that a linebreak has been added between the name and the e-mail in the sign-off line.
Expected behavior
Wrapping does not get applied to sign-offs and, ideally, to any other tag (like Acked-by: , Co-developed-by: , Tested-by: , Reviewed-by: , Fixes: ,...) added to the end of the commit.
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
commit=, build date=, build source=Homebrew, version=0.58.1, os=darwin, arch=arm64, git version=2.50.1 (Apple Git-155)
Terminal info:
Ghostty
Additional context
Add any other context about the problem here.
Describe the bug
My name and corporate e-mail address are quite long, resulting in a sign-off line longer than autoWrapWidth. Therefore a linebreak is being added between my name and my e-mail.
It does not happen when the sign-off is automatically added, but when the commit message gets edited (for example, doing a "commit reword").
To Reproduce
Steps to reproduce the behavior:
autoWrapCommitMessageis set totrueautoWrapWidth(either the default 72 or your own configuration)autoWrapWidthr)Expected behavior
Wrapping does not get applied to sign-offs and, ideally, to any other tag (like
Acked-by:,Co-developed-by:,Tested-by:,Reviewed-by:,Fixes:,...) added to the end of the commit.Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
commit=, build date=, build source=Homebrew, version=0.58.1, os=darwin, arch=arm64, git version=2.50.1 (Apple Git-155)Terminal info:
Ghostty
Additional context
Add any other context about the problem here.