[PATCH] D124563: Renormalize line endings after ac5f7be6a8688955a282becf00eebc542238a86b

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 17:21:47 PDT 2022


Meinersbur added a comment.

In D124563#3478625 <https://reviews.llvm.org/D124563#3478625>, @smeenai wrote:

> I *think* this would mean that if you're on Windows and have `core.autocrlf` set to `input`, when you commit changes to this files, Git will convert them back to LF line endings. Not 100% sure of that though.

As far as I recall this was done because there are many ways how the line endings can be accidentally changed (`core.autocrlf` being one of then, others are `clang-format` or text editors that do not retain line endings) and committed. Removing the files from `.gitignore` undo the intended line ending pin from D97625 <https://reviews.llvm.org/D97625>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124563



More information about the cfe-commits mailing list