]> source.dussan.org Git - jgit.git/commitdiff
Configure .gitattributes to manage line endings 50/1173050/3
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 24 Nov 2023 14:14:58 +0000 (15:14 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 22 Dec 2023 22:20:39 +0000 (23:20 +0100)
Mark test resources as binary to prevent line ending normalization
Some of the test resources are used to test handling of line endings
in JGit.

Change-Id: Idd9ba604945797d1cd1f3af1a1987aee3188e1d6

.gitattributes

index 7543492ddedbd0cd38b8496f37c4b7f51aaa191b..70de5942cd1e162e2fb793162d3f7112511db8ab 100644 (file)
@@ -1,2 +1,14 @@
-*      text=auto
+* text=auto
+
+*.asc binary
+*.gif binary
+*.gitindex.dat binary
+*.key binary
+*.patch binary
+*.pdf binary
+*.png binary
+org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/** binary
+org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/test/resources/** binary
+org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/util/io/** binary
+
 *.java diff=java