[PATCH] D124606: Use `-text` git attribute instead of `text eol=...'

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 08:07:24 PDT 2022


aaronpuchert added a comment.

Fair enough, but don't we want to enforce LF or CRLF, respectively? An editor could inadvertently change the line endings, and someone might not notice before commiting. Explicitly specifying the right line endings gives us the proper line endings even if some editors mess things up.

That was what @smeenai actually referred to, sorry for misrepresenting that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124606/new/

https://reviews.llvm.org/D124606



More information about the cfe-commits mailing list