summaryrefslogtreecommitdiff
path: root/llvm/.gitattributes
diff options
context:
space:
mode:
authorZhen Cao <zhen.cao@autodesk.com>2017-11-17 21:59:43 +0000
committerZhen Cao <zhen.cao@autodesk.com>2017-11-17 21:59:43 +0000
commit4cb299407e58468ec720e4aff7c22486fd9687b8 (patch)
treecbb673a3496a8de993f0d5eb1ef378e27659eb34 /llvm/.gitattributes
parent66f58909f89eab4325e61b587d7daa8d7f35ffc3 (diff)
downloadllvm-4cb299407e58468ec720e4aff7c22486fd9687b8.tar.gz
[MC] Fix regression tests on Windows when git “core.autocrlf” is set to true.
Differential Revision: https://reviews.llvm.org/D39737 This is the second attempt to commit this. The test was broken on Linux in the first attempt. llvm-svn: 318560
Diffstat (limited to 'llvm/.gitattributes')
-rw-r--r--llvm/.gitattributes12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/.gitattributes b/llvm/.gitattributes
new file mode 100644
index 000000000000..e7d6fd6d93d9
--- /dev/null
+++ b/llvm/.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