[PATCH] D33405: Mark all ARCMT test files as binary files in git, just like with svn
Erik Verbruggen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 22 04:46:46 PDT 2017
erikjv created this revision.
Herald added a subscriber: javed.absar.
This is a work-around for ARCMT's inability to handle Windows-style line
terminators (\r\n) correctly. The underlying problem seems to be that
line terminators are assumed to be 1 character long. So with files
ending with \r\n the rewritten files end with \r\r\n. See also PR33124.
https://reviews.llvm.org/D33405
Files:
.gitattributes
Index: .gitattributes
===================================================================
--- /dev/null
+++ .gitattributes
@@ -0,0 +1,6 @@
+# Default behaviour
+* text=auto
+
+# ARCMT test files
+test/ARCMT/* binary
+test/ARCMT/*/* binary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33405.99741.patch
Type: text/x-patch
Size: 239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170522/6e7217f9/attachment.bin>
More information about the cfe-commits
mailing list