Merge "RFC: Work around null commit when updating submodules" into stable-2.8
This commit is contained in:
@@ -268,6 +268,9 @@ public class SubmoduleOp {
|
|||||||
|
|
||||||
for (final Map.Entry<Branch.NameKey, ObjectId> me : modules.entrySet()) {
|
for (final Map.Entry<Branch.NameKey, ObjectId> me : modules.entrySet()) {
|
||||||
RevCommit c = myRw.parseCommit(me.getValue());
|
RevCommit c = myRw.parseCommit(me.getValue());
|
||||||
|
if (c == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
msgbuf.append("\nProject: ");
|
msgbuf.append("\nProject: ");
|
||||||
msgbuf.append(me.getKey().getParentKey().get());
|
msgbuf.append(me.getKey().getParentKey().get());
|
||||||
|
Reference in New Issue
Block a user