Allow merged change emails to include unified diff.

If sendemail.includeDiff is true, the merged change emails
from Gerrit will include the complete unified diff of the
change. Thus users can watch the 'Watched Projects' by only
following the emails of 'Submitted Changes' especially when
there is not enough time to catch all emails of 'New Changes'
and 'All Comments'.

Change-Id: Ia7d3e2b1f46a0b45c3cff7c8d494c8ef6ea2213b
This commit is contained in:
Bruce Zu
2012-11-27 17:38:10 +08:00
committed by David Pursehouse
parent 327048b612
commit eb00ff3fa1
4 changed files with 60 additions and 63 deletions

View File

@@ -42,3 +42,7 @@ Change subject: $change.subject
$email.changeDetail$email.approvals
#if($email.includeDiff)
$email.UnifiedDiff
#end