From: James Moger Date: Sun, 5 Jun 2011 19:21:12 +0000 (-0400) Subject: Added git-notes to docs. Fixed parent path mode. X-Git-Tag: v0.5.0~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f08c1ca55e1ffaef81f3d6514aa4bffa5d716c5b;p=gitblit.git Added git-notes to docs. Fixed parent path mode. --- diff --git a/docs/00_index.mkd b/docs/00_index.mkd index 0211be6e..09027339 100644 --- a/docs/00_index.mkd +++ b/docs/00_index.mkd @@ -30,6 +30,7 @@ sources @ [Github][gitbltsrc] - Administrators may create, edit, rename, or delete users through the web UI - Repository Owners may edit repositories through the web UI - Automatically generates a self-signed certificate for https communications +- Git-notes support - Dates can optionally be displayed using the browser's reported timezone - Author and Committer email address display can be controlled - Dynamic zip downloads feature @@ -52,13 +53,10 @@ sources @ [Github][gitbltsrc] - Gitblit is an integrated, full-stack solution. There is no WAR build at this time. ### Todo List -- Review spots where Gitblit can cache data instead of abusing the disk - - stats - - users.properties access - - available repositories - - etc - Code documentation - Unit testing +- Branch selector on Metrics +- Blame ### Idea List - Ticgit activity/timeline @@ -67,7 +65,6 @@ sources @ [Github][gitbltsrc] - View images on Blob page - View other binary files on Blob page - Markdown editing feature -- Blame (waiting for the [JGit][jgit] team to do the hard part) ### License Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) diff --git a/src/com/gitblit/wicket/pages/TreePage.java b/src/com/gitblit/wicket/pages/TreePage.java index ac84e73a..f7962664 100644 --- a/src/com/gitblit/wicket/pages/TreePage.java +++ b/src/com/gitblit/wicket/pages/TreePage.java @@ -26,6 +26,7 @@ import org.apache.wicket.markup.repeater.Item; import org.apache.wicket.markup.repeater.data.DataView; import org.apache.wicket.markup.repeater.data.ListDataProvider; import org.eclipse.jgit.lib.Constants; +import org.eclipse.jgit.lib.FileMode; import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.revwalk.RevCommit; @@ -70,7 +71,7 @@ public class TreePage extends RepositoryPage { if (path.lastIndexOf('/') > -1) { parentPath = path.substring(0, path.lastIndexOf('/')); } - PathModel model = new PathModel("..", parentPath, 0, 40000, objectId); + PathModel model = new PathModel("..", parentPath, 0, FileMode.TREE.getBits(), objectId); model.isParentPath = true; paths.add(0, model); }