diff options
author | James Moger <james.moger@gitblit.com> | 2013-09-17 16:13:53 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-09-17 17:04:29 -0400 |
commit | bb6b148bfc2d4a22b4fd3bdbafebadccaccf6661 (patch) | |
tree | 7f7fee92dd29e82e436043a546aef731d25a465c /src/main/java/com/gitblit/wicket/pages/RootSubPage.java | |
parent | 5f8d99338e63c68839e3ddf34f54486e1d1128f1 (diff) | |
download | gitblit-bb6b148bfc2d4a22b4fd3bdbafebadccaccf6661.tar.gz gitblit-bb6b148bfc2d4a22b4fd3bdbafebadccaccf6661.zip |
Revisions and documentation for personal repository prefix change
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/RootSubPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/RootSubPage.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/RootSubPage.java b/src/main/java/com/gitblit/wicket/pages/RootSubPage.java index 17ba4b27..0be714e2 100644 --- a/src/main/java/com/gitblit/wicket/pages/RootSubPage.java +++ b/src/main/java/com/gitblit/wicket/pages/RootSubPage.java @@ -81,7 +81,9 @@ public abstract class RootSubPage extends RootPage { // all repositories
repos.add(".*");
// all repositories excluding personal repositories
- if (ModelUtils.getUserRepoPrefix().length() == 1) repos.add("[^" + ModelUtils.getUserRepoPrefix() +"].*");
+ if (ModelUtils.getUserRepoPrefix().length() == 1) {
+ repos.add("[^" + ModelUtils.getUserRepoPrefix() + "].*");
+ }
}
for (String repo : GitBlit.self().getRepositoryList()) {
|