src/main/java/com/gitblit/tickets/TicketNotifier.java
@@ -204,7 +204,9 @@ } catch (Exception e) { Logger.getLogger(getClass()).error("failed to get changed paths", e); } finally { repo.close(); if (repo != null) { repo.close(); } } String compareUrl = ticketService.getCompareUrl(ticket, base, patchset.tip);