Merge "ChangeMergedEvent should always be called with merged patch set"
This commit is contained in:
@@ -847,7 +847,7 @@ public class MergeOp {
|
||||
try {
|
||||
hooks.doChangeMergedHook(c,
|
||||
accountCache.get(submitter.getAccountId()).getAccount(),
|
||||
db.patchSets().get(c.currentPatchSetId()), db);
|
||||
db.patchSets().get(commit.patchsetId), db);
|
||||
} catch (OrmException ex) {
|
||||
log.error("Cannot run hook for submitted patch set " + c.getId(), ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user