Merge "ChangeMergedEvent should always be called with merged patch set"

This commit is contained in:
David Pursehouse
2013-08-01 00:56:41 +00:00
committed by Gerrit Code Review

View File

@@ -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);
}