Does libgit2sharp support checking out windows style line breaks when the repo has unix style line breaks?
I can't seem to find that documented anywhere.
Does libgit2sharp support checking out windows style line breaks when the repo has unix style line breaks?
I can't seem to find that documented anywhere.
Yes. LibGit2Sharp will glady honor
core.crlf
configuration settings and.gitattributes
files on Windows.There are still some cases (
core.crlf
=true
on *nix platforms, handling ofsafe.crlf
) that aren't supported yet, but should be tackled shortly (cf. #961, libgit2/#3199 and libgit2/#2798)