From e562d45372cf70fe9160fc21e6d1bc3d7d75e60d Mon Sep 17 00:00:00 2001 From: James Moger Date: Sun, 16 Mar 2014 16:24:39 -0400 Subject: [PATCH] Fix incorrect ticket branch ref in ticket page changed paths list --- src/main/java/com/gitblit/wicket/pages/TicketPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5