hello,
recently i started using sourcetree, and i must say that this is a first gui for git that i really like. thank you!
but i have a big problem:
do you know how to set it up so that the sourcetree/git does works correctly with line endings?
what is happening:
i work on some files on windows project (i.e. mostly CRLF) with visual studio. some of the operations of sourcetree (stage/discard hunk? stashing? stage/discard line?) does messes with line endings in the way that when reloading the file in visual studio says that there are inconsistent line endings.
if i identify the file by file utility:
original file: C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
modified file: C source, UTF-8 Unicode (with BOM) text, with CRLF, LF line terminators
it does not happen often, but by now i "infected" at least 5 files in a project which annoys other users.
i watched it for a while and maybe i personally suspect stage line (s)/ discard selected line(s) functionality of sourcetree. but maybe i am wrong.