Set default for review SSH command to notify=ALL

When the --notify option wasn't given, it defaulted to notify=NONE.
Make it default to notify=ALL.

Bug: issue 2801
Change-Id: I799d3036f93286328311f3339a0e384cc56542c3
This commit is contained in:
Simon Lei
2014-08-11 15:25:02 -04:00
committed by David Pursehouse
parent 9c0325578f
commit 4745a16a8b

View File

@@ -200,6 +200,9 @@ public class ReviewCommand extends SshCommand {
if (changeComment == null) {
changeComment = "";
}
if (notify == null) {
notify = NotifyHandling.ALL;
}
ReviewInput review = new ReviewInput();
review.message = Strings.emptyToNull(changeComment);