summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorZhen Cao <zhen.cao@autodesk.com>2017-11-17 16:17:56 +0000
committerZhen Cao <zhen.cao@autodesk.com>2017-11-17 16:17:56 +0000
commite66112a7be19fc5f77edca824b67761dc52ee913 (patch)
treeba054bf4f0c1eb4bacb6292c016ec1820e715574 /.gitattributes
parentfa8708611de351299d0cb0f07630d72fe67a5a41 (diff)
[MC] Fix regression tests on Windows when git “core.autocrlf” is set to true.
Differential Revision: https://reviews.llvm.org/D39737 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..e7d6fd6d93d9
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,12 @@
+# binary files
+test/Object/Inputs/*.a-* binary
+test/tools/dsymutil/Inputs/* binary
+test/tools/llvm-ar/Inputs/*.lib binary
+test/tools/llvm-objdump/Inputs/*.a binary
+test/tools/llvm-rc/Inputs/* binary
+test/tools/llvm-strings/Inputs/numbers binary
+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