]> source.dussan.org Git - jgit.git/commit
RenameDetector: Only scan deletes if adds exist 93/1893/2
authorShawn O. Pearce <spearce@spearce.org>
Thu, 11 Nov 2010 23:02:57 +0000 (15:02 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 12 Nov 2010 19:57:02 +0000 (11:57 -0800)
commitbc9bca064d9d41f11763a383aaca9c1710c61b4f
tree0304ef29d12810e8de5926c2713f42afd149bd66
parent05653bda04a8199fceacd7f8b26c8af4dd8a8f3a
RenameDetector: Only scan deletes if adds exist

If there are only deletes, don't need perform rename or copy
detection.  There are no adds (aka destinations) for the deletes
to match against.

Change-Id: I00fb90c509fa26a053de561dd8506cc1e0f5799a
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/diff/RenameDetector.java