summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-03 11:33:24 -0500
committerJames Moger <james.moger@gitblit.com>2014-03-03 11:33:24 -0500
commiteb0f7ea03074bb45c67d2ad877af3c5c85e6b3fc (patch)
treea87e6238a03f6e57e18166b73c0a69f2e20d6e8b /src/main/java/com/gitblit
parent1c2bff27ff37ec2add7c2badac46647fd92b71df (diff)
downloadgitblit-eb0f7ea03074bb45c67d2ad877af3c5c85e6b3fc.tar.gz
gitblit-eb0f7ea03074bb45c67d2ad877af3c5c85e6b3fc.zip
Fix compare page exception when a submodule changes (issue-375)
Diffstat (limited to 'src/main/java/com/gitblit')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/ComparePage.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/ComparePage.java b/src/main/java/com/gitblit/wicket/pages/ComparePage.java
index d88c864a..2024bf17 100644
--- a/src/main/java/com/gitblit/wicket/pages/ComparePage.java
+++ b/src/main/java/com/gitblit/wicket/pages/ComparePage.java
@@ -171,6 +171,7 @@ public class ComparePage extends RepositoryPage {
item.add(new ExternalLink("patch", "").setEnabled(false));
item.add(new BookmarkablePageLink<Void>("view", CommitPage.class, WicketUtils
.newObjectParameter(submodulePath, entry.objectId)).setEnabled(hasSubmodule));
+ item.add(new ExternalLink("raw", "").setEnabled(false));
item.add(new ExternalLink("blame", "").setEnabled(false));
item.add(new BookmarkablePageLink<Void>("history", HistoryPage.class, WicketUtils
.newPathParameter(repositoryName, endId, entry.path))