Checkout windows style line breaks

224 views Asked by At

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.

1

There are 1 answers

6
nulltoken On BEST ANSWER

Does libgit2sharp support checking out windows style line breaks when the repo has unix style line breaks?

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 of safe.crlf) that aren't supported yet, but should be tackled shortly (cf. #961, libgit2/#3199 and libgit2/#2798)