aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst-rsrc
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2020-03-23 16:55:35 +0100
committerThomas Wolf <thomas.wolf@paranor.ch>2020-05-22 17:08:52 -0400
commit3c34e0acbfcac236daaf746690130c6e99a8e524 (patch)
treebd5c30242f9861d35fbba58e0f49c87db4d04294 /org.eclipse.jgit.test/tst-rsrc
parent97e660e1a54b2bae4b5e830ad45c3d7b9ea9ea21 (diff)
downloadjgit-3c34e0acbfcac236daaf746690130c6e99a8e524.tar.gz
jgit-3c34e0acbfcac236daaf746690130c6e99a8e524.zip
Attributes: fix handling of text=auto in combination with eol
In Git 2.10.0 the interpretation of gitattributes changed or was fixed such that "* text=auto eol=crlf" would indeed still do auto-detection of text vs. binary content.[1] Previously this was identical to "* text eol=crlf", i.e., treating all files as text. JGit still did the latter, which caused surprises because it changed binary files. [1] https://github.com/git/git/blob/master/Documentation/RelNotes/2.10.0.txt#L248 Bug: 561341 Change-Id: I5b6fb97b5e86fd950a98537b6b8574f768ae30e5 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.test/tst-rsrc')
-rw-r--r--org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/attributes/add.pngbin0 -> 366 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/attributes/add.png b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/attributes/add.png
new file mode 100644
index 0000000000..c6aeae4d46
--- /dev/null
+++ b/org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/attributes/add.png
Binary files differ