From 8d11fa04838c850aaa92895805d39d0a2845300c Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 6 Mar 2014 16:55:45 -0500 Subject: [PATCH] Exclude title, body, and status fields from initial proposal email --- src/main/java/com/gitblit/tickets/TicketNotifier.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gitblit/tickets/TicketNotifier.java b/src/main/java/com/gitblit/tickets/TicketNotifier.java index 998461e1..a8ebc9e7 100644 --- a/src/main/java/com/gitblit/tickets/TicketNotifier.java +++ b/src/main/java/com/gitblit/tickets/TicketNotifier.java @@ -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()) { -- 2.39.5