]> source.dussan.org Git - jgit.git/commit
Fix possible NPE in IndexDiff when not all submodules are cloned 91/36191/2
authorChristian Halstrick <christian.halstrick@sap.com>
Sat, 8 Nov 2014 17:46:25 +0000 (18:46 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 9 Nov 2014 21:44:07 +0000 (22:44 +0100)
commit9597c41ea9db20d769f7b8c54eafa207824e5bd6
tree27936da53fa9e54285ab363829e79f6131be0131
parent714f677ca54731a011b50a4559f869c9d207ce19
Fix possible NPE in IndexDiff when not all submodules are cloned

The latest changes to IndexDiff just assumed that all configured
submodules are allways cloned. If a configured submodule did not exist
an exception was thrown. This is fixed by this commit.

Bug: 450567
Change-Id: Iabe3b196d998c19483082e5720038ebddaeb1890
org.eclipse.jgit.test/tst/org/eclipse/jgit/submodule/SubmoduleWalkTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java