James Moger
2011-04-07 cebf455f3fd54b72e530942f308097ec54b408cd
src/com/gitblit/wicket/pages/CommitPage.java
@@ -23,7 +23,7 @@
public class CommitPage extends RepositoryPage {
   public CommitPage(PageParameters params) {
      super(params, "commit");
      super(params);
      final String commitId = params.getString("h", "");
@@ -76,7 +76,7 @@
      addFullText("fullMessage", c.getFullMessage(), true);
      // changed paths list
      List<PathModel> paths  = JGitUtils.getCommitChangedPaths(r, c);
      List<PathModel> paths  = JGitUtils.getFilesInCommit(r, c);
      ListDataProvider<PathModel> pathsDp = new ListDataProvider<PathModel>(paths);
      DataView<PathModel> pathsView = new DataView<PathModel>("changedPath", pathsDp) {
         private static final long serialVersionUID = 1L;
@@ -97,10 +97,12 @@
      };
      add(pathsView);
      
      // close repository
      r.close();
      // footer
      addFooter();
   }
   @Override
   protected String getPageName() {
      return "commit";
   }
}