commit | c5d0d155e9d30e82d3fcac68f04fd9f35713fec3 | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Fri Feb 10 22:35:40 2017 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Fri Feb 10 23:22:15 2017 +0000 |
tree | cf019ac2071e4426634cd9916f9df84aa8da7d14 | |
parent | 0ebb512a00142f6a57f52f813031c5be67c7b64a [diff] |
Fix gitblit looking in the wrong path for your git folder https://gerrit-review.googlesource.com/#/c/93293/4/src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java Change-Id: I69c82a13e55f762c276d9b506c09ec71af5a1e1b
diff --git a/src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java b/src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java index 16b2b2d..5cd583a 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java +++ b/src/main/java/com/googlesource/gerrit/plugins/gitblit/app/GitBlitSettings.java
@@ -56,7 +56,8 @@ this.properties = new Properties(); this.config = new GitBlitUrlsConfig(config); this.etcDir = sitePaths.etc_dir.toFile(); - this.basePath = sitePaths.data_dir.toFile(); + this.basePath = + sitePaths.resolve(config.getString("gerrit", null, "basePath")).toFile(); load(); }