Skip to content

Commit

Permalink
Revert "Finally formalise our defacto line-ending policy"
Browse files Browse the repository at this point in the history
This reverts commit dccebdd.
  • Loading branch information
ldrumm committed Oct 18, 2024
1 parent 2bff9d9 commit e669bbb
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 23 deletions.
7 changes: 0 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Checkout as native, commit as LF except in specific circumstances
* text=auto
*.bat text eol=crlf
*.rc text eol=crlf
*.sln text eol=crlf
*.natvis text eol=crlf

libcxx/src/**/*.cpp merge=libcxx-reformat
libcxx/include/**/*.h merge=libcxx-reformat

Expand Down
3 changes: 0 additions & 3 deletions clang-tools-extra/clangd/test/.gitattributes

This file was deleted.

4 changes: 0 additions & 4 deletions clang/test/.gitattributes

This file was deleted.

6 changes: 0 additions & 6 deletions llvm/docs/TestingGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,6 @@ Best practices for regression tests
- Try to give values (including variables, blocks and functions) meaningful
names, and avoid retaining complex names generated by the optimization
pipeline (such as ``%foo.0.0.0.0.0.0``).
- If your tests depend on specific input file encodings, beware of line-ending
issues across different platforms, and in the project's history. Before you
commit tests that depend on explicit encodings, consider adding filetype or
specific line-ending annotations to a `<.gitattributes
https://git-scm.com/docs/gitattributes#_effects>`_ file in the appropriate
directory in the repository.

Extra files
-----------
Expand Down
1 change: 0 additions & 1 deletion llvm/test/FileCheck/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion llvm/test/tools/llvm-ar/Inputs/.gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion llvm/utils/lit/tests/Inputs/shtest-shell/.gitattributes

This file was deleted.

0 comments on commit e669bbb

Please sign in to comment.