]> source.dussan.org Git - jgit.git/commit
IndexDiff: Remove always true not-subtree check 70/2070/2
authorShawn O. Pearce <spearce@spearce.org>
Wed, 8 Dec 2010 02:45:11 +0000 (18:45 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 8 Dec 2010 18:03:20 +0000 (10:03 -0800)
commit48e80698cf7b19422cb7a62a34170cc3c7a3f7a2
treef3d4e7f22e51a2be552b9c5f848086060f4af553
parentca9baa0ee2d86edf1c1e29ba3c35ba45fcf32b8c
IndexDiff: Remove always true not-subtree check

The TreeWalk is configured to be recursive, which means subtrees are
never presented to the application.  Therefore the working tree file
mode can never be a subtree/subdirectory at this point in the code.

Change-Id: Ie842ddc147957d09205c0d2ce87b25c566862fd9
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java