diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-16 16:24:39 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-16 16:24:39 -0400 |
commit | e562d45372cf70fe9160fc21e6d1bc3d7d75e60d (patch) | |
tree | b9eab79d6b8a97876036def62abfbe5186e8cab0 | |
parent | 2efe6af8bba41a8451ded7be9a4e3b40190900ab (diff) | |
download | gitblit-e562d45372cf70fe9160fc21e6d1bc3d7d75e60d.tar.gz gitblit-e562d45372cf70fe9160fc21e6d1bc3d7d75e60d.zip |
Fix incorrect ticket branch ref in ticket page changed paths list
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/TicketPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|