summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@cycos.com>2013-07-10 09:16:23 +0200
committerFlorian Zschocke <florian.zschocke@cycos.com>2013-08-26 12:30:53 +0200
commit0c5c1c872ace327087ba665a51d03a81bcba60f0 (patch)
tree267366bf7a2017060db74e6c351fec78d8be09ea /src
parentcb946fa57e9dd4ca0853f079331c73dc0331c1e7 (diff)
downloadgitblit-0c5c1c872ace327087ba665a51d03a81bcba60f0.tar.gz
gitblit-0c5c1c872ace327087ba665a51d03a81bcba60f0.zip
Set user repository prefix from setting.
Set the user repository name space from settings when starting Gitblit.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/GitBlit.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java
index 608ae7c0..9b79e3c9 100644
--- a/src/main/java/com/gitblit/GitBlit.java
+++ b/src/main/java/com/gitblit/GitBlit.java
@@ -3440,6 +3440,9 @@ public class GitBlit implements ServletContextListener {
luceneExecutor = new LuceneExecutor(settings, repositoriesFolder);
gcExecutor = new GCExecutor(settings);
+ // initialize utilities
+ ModelUtils.setUserRepoPrefix(settings);
+
// calculate repository list settings checksum for future config changes
repositoryListSettingsChecksum.set(getRepositoryListSettingsChecksum());