diff options
Diffstat (limited to 'src/com/gitblit/wicket/pages/BlobPage.java')
-rw-r--r-- | src/com/gitblit/wicket/pages/BlobPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/gitblit/wicket/pages/BlobPage.java b/src/com/gitblit/wicket/pages/BlobPage.java index 3ba2f840..78429362 100644 --- a/src/com/gitblit/wicket/pages/BlobPage.java +++ b/src/com/gitblit/wicket/pages/BlobPage.java @@ -25,7 +25,7 @@ public class BlobPage extends RepositoryPage { final String blobPath = params.getString("f", null);
Repository r = getRepository();
- RevCommit commit = JGitUtils.getCommit(r, commitId);
+ RevCommit commit = JGitUtils.getCommit(r, objectId);
// blob page links
add(new Label("historyLink", getString("gb.history")));
@@ -34,7 +34,7 @@ public class BlobPage extends RepositoryPage { add(new LinkPanel("shortlog", "title", commit.getShortMessage(), CommitPage.class, newCommitParameter()));
- add(new PathBreadcrumbsPanel("breadcrumbs", repositoryName, blobPath, commitId));
+ add(new PathBreadcrumbsPanel("breadcrumbs", repositoryName, blobPath, objectId));
String extension = null;
if (blobPath.lastIndexOf('.') > -1) {
extension = blobPath.substring(blobPath.lastIndexOf('.') + 1);
|