]> source.dussan.org Git - jgit.git/commit
Fix diff when first text is the start of the other 56/3356/6
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 15 May 2011 18:34:05 +0000 (20:34 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 15 May 2011 18:34:05 +0000 (20:34 +0200)
commit51a5cc7f1a1033664ee2fb760ed217b665b12b34
tree6def9f99e035a6ba3f97417557cea0caff0e8dce
parentb8fdda11cc4a786c24ba309ec755321dba6d9955
Fix diff when first text is the start of the other

The problem occurred when the first text ends in the middle
of the last line of the other text and the first text has no
end of line.

Bug: 344975
Change-Id: I1f0dd9f8062f2148a7c1341c9122202e082ad19d
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RawTextTest.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawTextComparator.java