[PATCH] D67391: Copy llvm .gitattributes to the monorepository.

2019-09-10 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 219522.
hokein added a comment.

Update the patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67391

Files:
  llvm/.gitattributes


Index: llvm/.gitattributes
===
--- llvm/.gitattributes
+++ llvm/.gitattributes
@@ -13,5 +13,7 @@
 test/MC/AsmParser/incbin_abcd binary
 test/YAMLParser/spec-09-02.test binary
 
-# Windows line ending test
-test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf
+# This file must have CRLF line endings, therefore git should treat it as
+# binary and not autoconvert line endings (for example, when core.autocrlf is
+# on).
+test/MC/AsmParser/preserve-comments-crlf.s binary


Index: llvm/.gitattributes
===
--- llvm/.gitattributes
+++ llvm/.gitattributes
@@ -13,5 +13,7 @@
 test/MC/AsmParser/incbin_abcd binary
 test/YAMLParser/spec-09-02.test binary
 
-# Windows line ending test
-test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf
+# This file must have CRLF line endings, therefore git should treat it as
+# binary and not autoconvert line endings (for example, when core.autocrlf is
+# on).
+test/MC/AsmParser/preserve-comments-crlf.s binary
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D67391: Copy llvm .gitattributes to the monorepository.

2019-09-10 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision.
hokein added a reviewer: gribozavr.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This will fix the git "modified" change of 
llvm/trunk/test/MC/AsmParser/preserve-comments-crlf.s on linux.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67391

Files:
  .gitattributes


Index: .gitattributes
===
--- /dev/null
+++ .gitattributes
@@ -0,0 +1,17 @@
+# binary files
+llvm/test/Object/Inputs/*.a-* binary
+llvm/test/tools/dsymutil/Inputs/*.o binary
+llvm/test/tools/dsymutil/Inputs/*.a binary
+llvm/test/tools/dsymutil/Inputs/*.i386 binary
+llvm/test/tools/dsymutil/Inputs/*.x86_64 binary
+llvm/test/tools/dsymutil/Inputs/*.armv7m binary
+llvm/test/tools/dsymutil/Inputs/*.dylib binary
+llvm/test/tools/llvm-ar/Inputs/*.lib binary
+llvm/test/tools/llvm-objdump/Inputs/*.a binary
+llvm/test/tools/llvm-rc/Inputs/* binary
+llvm/test/tools/llvm-strings/Inputs/numbers binary
+llvm/test/MC/AsmParser/incbin_abcd binary
+llvm/test/YAMLParser/spec-09-02.test binary
+
+# Windows line ending test
+llvm/test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf


Index: .gitattributes
===
--- /dev/null
+++ .gitattributes
@@ -0,0 +1,17 @@
+# binary files
+llvm/test/Object/Inputs/*.a-* binary
+llvm/test/tools/dsymutil/Inputs/*.o binary
+llvm/test/tools/dsymutil/Inputs/*.a binary
+llvm/test/tools/dsymutil/Inputs/*.i386 binary
+llvm/test/tools/dsymutil/Inputs/*.x86_64 binary
+llvm/test/tools/dsymutil/Inputs/*.armv7m binary
+llvm/test/tools/dsymutil/Inputs/*.dylib binary
+llvm/test/tools/llvm-ar/Inputs/*.lib binary
+llvm/test/tools/llvm-objdump/Inputs/*.a binary
+llvm/test/tools/llvm-rc/Inputs/* binary
+llvm/test/tools/llvm-strings/Inputs/numbers binary
+llvm/test/MC/AsmParser/incbin_abcd binary
+llvm/test/YAMLParser/spec-09-02.test binary
+
+# Windows line ending test
+llvm/test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits