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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 22 11:44:59 PDT 2018


probinson added a comment.

So, `input` is like `false` on checkout, and fixes crlfs on checkin.  The set of test files with actual CRLFs that are required is pretty small, I would think.

We settled on `input` in my team because it caused the least problems all around.  Zach may sneer at me for not using a "reasonable" editor but "reasonable" means "works the way *I* want" and is not particularly useful guidance.  The question is, what editors don't produce files with mixed LF/CRLF endings, either by auto-detecting or being told what to do; if there are such, we can add that kind of guidance as well.


Repository:
  rL LLVM

https://reviews.llvm.org/D48494





More information about the llvm-commits mailing list