[Openmp-commits] [clang] [clang-tools-extra] [compiler-rt] [flang] [lld] [lldb] [llvm] [mlir] [openmp] [pstl] Finally formalise our defacto line-ending policy (PR #86318)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 25 15:13:23 PDT 2024


ldrumm wrote:

Perhaps things have got lost during the discussion, but my this part of my original commit message is perhaps worth re-reading:

> In simple terms this means "unless otherwise specified, convert all files considered "text" files to LF in the project history, but checkout them out as expected on the local machine. What is "expected on the local machine" is dependent on configuration and default.

> For those files in the repository that do need CRLF endings, I've adopted a policy of eol=crlf which means that git will store them in history with LF, but regardless of user config, they'll be checked out in tree with CRLF.

https://github.com/llvm/llvm-project/pull/86318


More information about the Openmp-commits mailing list