Change-Id: Iee475584f0a65b8b77610cd277f15295b68dfe80
@ -204,8 +204,7 @@ public class CommitBuilder {
setParentId(additionalParent);
} else {
ObjectId[] newParents = new ObjectId[parentIds.length + 1];
for (int i = 0; i < parentIds.length; i++)
newParents[i] = parentIds[i];
System.arraycopy(parentIds, 0, newParents, 0, parentIds.length);
newParents[parentIds.length] = additionalParent.copy();
parentIds = newParents;
}