[PATCH] D48494: [doc] Show the git config for Windows to do line-endings correctly

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 22 10:49:38 PDT 2018


zturner added subscribers: rnk, zturner.
zturner added a comment.

I actually strongly disagree with this guidance. You should use
core.autocrlf false. A source control system should not be modifying the
content of the sources. There are some tests that specifically depend on
crlf and some that specifically depend on lf. All reasonable editors will
correctly maintain line endings, and if someone accidentally checks in crlf
line endings it’s noticed and fixed pretty quickly


Repository:
  rL LLVM

https://reviews.llvm.org/D48494





More information about the llvm-commits mailing list