Merge "RFC: Work around null commit when updating submodules" into stable-2.8

This commit is contained in:
Shawn Pearce
2014-03-06 20:04:42 +00:00
committed by Gerrit Code Review

View File

@@ -268,6 +268,9 @@ public class SubmoduleOp {
for (final Map.Entry<Branch.NameKey, ObjectId> me : modules.entrySet()) {
RevCommit c = myRw.parseCommit(me.getValue());
if (c == null) {
continue;
}
msgbuf.append("\nProject: ");
msgbuf.append(me.getKey().getParentKey().get());