James Moger
2011-06-01 a3bde69e9b3f3cc6212b0cd5fd7310b6a3301d8c
src/com/gitblit/wicket/pages/TreePage.java
@@ -65,7 +65,14 @@
      // breadcrumbs
      add(new PathBreadcrumbsPanel("breadcrumbs", repositoryName, path, objectId));
      if (path != null && path.trim().length() > 0) {
         paths.add(0, PathModel.getParentPath(path, objectId));
         // add .. parent path entry
         String parentPath = null;
         if (path.lastIndexOf('/') > -1) {
            parentPath = path.substring(0, path.lastIndexOf('/'));
         }
         PathModel model = new PathModel("..", parentPath, 0, 40000, objectId);
         model.isParentPath = true;
         paths.add(0, model);
      }
      final ByteFormat byteFormat = new ByteFormat();