-
Notifications
You must be signed in to change notification settings - Fork 909
Closed
Milestone
Description
Hi,
Just to emphasize I am talking about crlf in the commit text message and not in text files.
I noticed that 'git commit' and 'git commit-tree' behave differently regarding crlf in the message
.
If I have a text file that contains crlf as new line and I am using:
git commit -F msg.txt
The crlf are converted to lf
But if I am using:
git commit-tree -F msg.txt
the crlf are NOT converted.
As far as I noticed the core.autocrlf doesn't effect the behavior above.
When using the ObjectDatabase you use the first convention
string prettifiedMessage = Proxy.git_message_prettify(message);
although I expected the second, because the API are low level.
Any advise about this?
Referenced issue git-tfs/git-tfs#533
Metadata
Metadata
Assignees
Labels
No labels