James Moger
2011-04-11 ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d
src/com/gitblit/wicket/pages/TreePage.java
@@ -29,7 +29,7 @@
      final String basePath = params.getString("f", null);
      Repository r = getRepository();
      RevCommit commit = JGitUtils.getCommit(r, commitId);
      RevCommit commit = JGitUtils.getCommit(r, objectId);
      List<PathModel> paths = JGitUtils.getFilesInPath(r, basePath, commit);
      // tree page links
@@ -39,9 +39,9 @@
      add(new LinkPanel("shortlog", "title", commit.getShortMessage(), CommitPage.class, newCommitParameter()));
      // breadcrumbs
      add(new PathBreadcrumbsPanel("breadcrumbs", repositoryName, basePath, commitId));
      add(new PathBreadcrumbsPanel("breadcrumbs", repositoryName, basePath, objectId));
      if (basePath != null && basePath.trim().length() > 0) {
         paths.add(0, PathModel.getParentPath(basePath, commitId));
         paths.add(0, PathModel.getParentPath(basePath, objectId));
      }
      final ByteFormat byteFormat = new ByteFormat();