Respect notify option when pushing new changes
Users can add a notify option to the push spec to control to whom email notifications should be sent, but the notify option had no effect when a new change was pushed. Change-Id: Ie802526ef486f3a36da1b4ac6ec4ada07026efa1 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -1775,6 +1775,7 @@ public class ReceiveCommits {
|
||||
.setExtraCC(recipients.getCcOnly())
|
||||
.setApprovals(approvals)
|
||||
.setMessage(msg)
|
||||
.setNotify(magicBranch.notify)
|
||||
.setRequestScopePropagator(requestScopePropagator)
|
||||
.setSendMail(true)
|
||||
.setUpdateRef(true));
|
||||
|
||||
Reference in New Issue
Block a user