-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scissors not removed from commit message #2623
Comments
Does it work when your scissors line does not start with
Well, that does not need to stop you from providing an easy-to-reproduce demonstration in the form of a script... the easier you make it for other people to help you, the more likely you get timely help. |
I think the problem is in the definiton of cut_line, which ends with a newline ( I'm not sure if changing the cut_line definition in wt-status.c is the right way to handle this in a production release, but it it certainly worked in a local test case. EDIT: Local test case as-below, after tweaking
Commit message:
|
Do I understand correctly that this is a CR/LF issue? |
I think so, yes. Twiddling the |
Setup
defaults?
to the issue you're seeing?
Details
Powershell 7.0.0
Minimal, Complete, and Verifiable example
this will help us understand the issue.
git commit
with changes stagedCommit message is saved and all lines below the scissors are not included in the commit message.
The commit message included the scissors and all lines that should have been removed in addition to the intended commit message.
(further message truncated for brevity)
URL to that repository to help us with testing?
Private repo, sorry.
The text was updated successfully, but these errors were encountered: