From: James Moger Date: Sun, 16 Mar 2014 20:24:39 +0000 (-0400) Subject: Fix incorrect ticket branch ref in ticket page changed paths list X-Git-Tag: v1.4.1~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Ftickets%2F32%2F32%2F1;p=gitblit.git Fix incorrect ticket branch ref in ticket page changed paths list --- diff --git a/src/main/java/com/gitblit/wicket/pages/TicketPage.java b/src/main/java/com/gitblit/wicket/pages/TicketPage.java index 498a9db6..8571b088 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketPage.java +++ b/src/main/java/com/gitblit/wicket/pages/TicketPage.java @@ -1161,7 +1161,7 @@ public class TicketPage extends TicketBasePage { String displayPath = entry.path; String path = entry.path; if (entry.isSymlink()) { - RevCommit commit = JGitUtils.getCommit(getRepository(), Constants.R_TICKETS_PATCHSETS + ticket.number); + RevCommit commit = JGitUtils.getCommit(getRepository(), PatchsetCommand.getTicketBranch(ticket.number)); path = JGitUtils.getStringContent(getRepository(), commit.getTree(), path); displayPath = entry.path + " -> " + path; }