Merge "ReceiveCommits: Use result change from ChangeInserter"

This commit is contained in:
Edwin Kempin 2015-12-23 08:09:20 +00:00 committed by Gerrit Code Review
commit 12380e0a0d

View File

@ -1716,9 +1716,9 @@ public class ReceiveCommits {
private class CreateRequest {
final RevCommit commit;
final Change change;
final ReceiveCommand cmd;
final ChangeInserter ins;
Change change;
boolean created;
Collection<String> groups;
@ -1808,6 +1808,7 @@ public class ReceiveCommits {
bu.execute();
}
created = true;
change = ins.getChange();
if (magicBranch != null && magicBranch.submit) {
submit(projectControl.controlFor(change), ps);