]> source.dussan.org Git - gitblit.git/commitdiff
Exclude title, body, and status fields from initial proposal email
authorJames Moger <james.moger@gitblit.com>
Thu, 6 Mar 2014 21:55:45 +0000 (16:55 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 6 Mar 2014 21:55:45 +0000 (16:55 -0500)
src/main/java/com/gitblit/tickets/TicketNotifier.java

index 998461e16fd079b7b39226961ad3df99d4d61eec..a8ebc9e7f9208c7f4026e1b08f63dd542111d311 100644 (file)
@@ -213,6 +213,9 @@ public class TicketNotifier {
                                // new proposal
                                pattern = "**{0}** is proposing a change.";
                                sb.append(MessageFormat.format(pattern, user.getDisplayName()));
+                               fieldExclusions.add(Field.status);
+                               fieldExclusions.add(Field.title);
+                               fieldExclusions.add(Field.body);
                        } else {
                                // describe the patchset
                                if (patchset.isFF()) {