Add --commit to comment-added as there was previously no way to know which change was being commented on.

This commit is contained in:
Shane Mc Cormack
2010-01-25 00:28:58 +00:00
parent 891a8f9829
commit 0681f2460a
4 changed files with 7 additions and 4 deletions

View File

@@ -208,7 +208,7 @@ public class ApproveCommand extends BaseCommand {
ChangeUtil.touch(change, db);
sendMail(change, change.currentPatchSetId(), cm);
hooks.doCommentAddedHook(change, currentUser.getAccount(), changeComment,
hooks.doCommentAddedHook(change, currentUser.getAccount(), db.patchSets().get(patchSetId), changeComment,
approvalsMap);
}