]> source.dussan.org Git - jgit.git/commitdiff
Added -crfl attribute for DiffFormatterReflowTest test data 63/163/1
authorConstantine Plotnikov <constantine.plotnikov@gmail.com>
Fri, 13 Nov 2009 14:30:08 +0000 (17:30 +0300)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Dec 2009 12:29:48 +0000 (13:29 +0100)
The test data is expected to have unix new lines by tests, but it
is converted to crlf on Windows platform (with msys git). As result
DiffFormatterReflowTest tests fail. To prevent this problem,
crlf conversion is disbled for test data related to that test.

Bug: 295077
Change-Id: I67d3ed543fcc38647041896146de12b1781ec6be
Signed-off-by: Constantine Plotnikov <constantine.plotnikov@gmail.com>
org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/.gitattributes [new file with mode: 0644]

diff --git a/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/.gitattributes b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/.gitattributes
new file mode 100644 (file)
index 0000000..c5831d9
--- /dev/null
@@ -0,0 +1,3 @@
+*.patch -crlf
+*Image -crlf
+*.out -crlf