jgit/org.eclipse.jgit
Thomas Wolf 7d3040368f Fix DiffFormatter for diffs against working tree with autocrlf=true
The WorkingTreeSource produced an ObjectLoader that returned
inconsistent sizes: the file size in getSize(), but then a
correctly filtered smaller stream in openStream(). This resulted
either in an IOE "short read of block" or in an EOFException
depending on the resulting filtered size.

Fix this by ensuring that getSize() does return the size of the
filtered stream.

Bug: 530106
Change-Id: I7c7c85036047dc10030ed29c1d5a6c7f34f2bdff
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-03-07 23:25:22 +01:00
..
.settings Silence API error raised for new CONFIG_SECTION_LFS constant 2018-03-06 00:28:38 +01:00
META-INF LFS: Add remote download to SmudgeFilter 2018-02-16 18:27:25 +01:00
findBugs
resources/org/eclipse/jgit LFS: support merge/rebase/cherry-pick/diff/compare with LFS files 2018-03-03 11:39:43 +01:00
src/org/eclipse/jgit Fix DiffFormatter for diffs against working tree with autocrlf=true 2018-03-07 23:25:22 +01:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs
.gitignore
.project
BUILD Bazel: Support building with Java 9 2018-02-07 17:51:35 -05:00
about.html SHA-1: collision detection support 2017-02-28 16:38:43 -08:00
build.properties
plugin.properties
pom.xml Add com.jcraft.jzlib 1.1.1 2018-01-04 13:53:29 -05:00