]> source.dussan.org Git - gitblit.git/commitdiff
Fix incorrect ticket branch ref in ticket page changed paths list 32/32/1
authorJames Moger <james.moger@gitblit.com>
Sun, 16 Mar 2014 20:24:39 +0000 (16:24 -0400)
committerJames Moger <james.moger@gitblit.com>
Sun, 16 Mar 2014 20:24:39 +0000 (16:24 -0400)
src/main/java/com/gitblit/wicket/pages/TicketPage.java

index 498a9db661a4bcf3a39481be89ad9a56b2e7750f..8571b088a0cdcc0bea11469523ee4061b155a892 100644 (file)
@@ -1161,7 +1161,7 @@ public class TicketPage extends TicketBasePage {
                                        String displayPath = entry.path;\r
                                        String path = entry.path;\r
                                        if (entry.isSymlink()) {\r
-                                               RevCommit commit = JGitUtils.getCommit(getRepository(), Constants.R_TICKETS_PATCHSETS + ticket.number);\r
+                                               RevCommit commit = JGitUtils.getCommit(getRepository(), PatchsetCommand.getTicketBranch(ticket.number));\r
                                                path = JGitUtils.getStringContent(getRepository(), commit.getTree(), path);\r
                                                displayPath = entry.path + " -> " + path;\r
                                        }\r