LF becomes CRLF
AlexPaterson
Posts: 1 New member
Hello
I have a git repository with UNIX compatible line breaks, linked to my SQL Server database through SQL Source Control.
Whenever I modify a view in SQL Server Management Studio and commit it to my local git repository, every LF becomes a CRLF.
I don't seem to find a setting in either Management Studio or SQL Source Control to change this behavior.
Can you help ?
Thanks
I have a git repository with UNIX compatible line breaks, linked to my SQL Server database through SQL Source Control.
Whenever I modify a view in SQL Server Management Studio and commit it to my local git repository, every LF becomes a CRLF.
I don't seem to find a setting in either Management Studio or SQL Source Control to change this behavior.
Can you help ?
Thanks
Tagged:
Answers
From research, this looks to be a Git issue rather than from our tooling: http://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?