]> source.dussan.org Git - jgit.git/commit
Introduce new RawText constructor and RawParseUtils.lineMapOrBinary 82/121382/6
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 18 Apr 2018 21:37:25 +0000 (23:37 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 12 May 2018 08:18:37 +0000 (10:18 +0200)
commit08d2e0188c932d1c87f603c9c1435296a63910d2
treeb636dcfb05c16613ab9dc5dc2bea54e2caaf1cd0
parent78db9bd17545186a6cb320f5846069d5ece7baba
Introduce new RawText constructor and RawParseUtils.lineMapOrBinary

This makes binary detection exact in ResolveMerger and DiffFormatter

This has the same intention as
Id4342a199628d9406bfa04af1b023c27a47d4014 but preserves backward
compatibility of the signature of RawParseUtils.lineMap.

Change-Id: Ia24a4e716592bab3363ae24e3a46315a7511154f
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RawTextTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RawParseUtils_LineMapTest.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java