]> source.dussan.org Git - jgit.git/commit
Fix diff for added and removed submodule 03/65903/2
authorHugo Arès <hugo.ares@ericsson.com>
Thu, 4 Feb 2016 13:55:20 +0000 (08:55 -0500)
committerHugo Arès <hugo.ares@ericsson.com>
Thu, 4 Feb 2016 15:27:50 +0000 (10:27 -0500)
commitdf904a4227360741635bf7aa6a6ad5e39057b343
tree767c9c9ee9f874de8038e1aa2ddff8eec5b32c8f
parent3e2aff196e4f20183c13fd0c219101b6604477e8
Fix diff for added and removed submodule

Since If13f7b406, submodule difference are shown as a hunk. The issue
was that added and removed submodule were considered as Edit.REPLACE
instead of Edit.INSERT and Edit.DELETE in the DiffFormatter result.

Change-Id: I4330c2aa3f10e29d7d6b0b2e5286e59293a06239
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffFormatterTest.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java