summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/AddIndexedBranch.java
diff options
context:
space:
mode:
authorMichael Pailloncy <michael.pailloncy@gmail.com>2013-05-30 21:42:14 +0200
committerMichael Pailloncy <michael.pailloncy@gmail.com>2013-05-30 21:42:14 +0200
commit262c1cfc0ea8c10dd5a7cef315670e8d6047442f (patch)
treeb3458211ca61475db0d25d874ec6da9e2bea13a5 /src/main/java/com/gitblit/AddIndexedBranch.java
parente17926272c849c920650b259107a41ca69046900 (diff)
downloadgitblit-262c1cfc0ea8c10dd5a7cef315670e8d6047442f.tar.gz
gitblit-262c1cfc0ea8c10dd5a7cef315670e8d6047442f.zip
fixed - params.branch parameter was not taking into account.
Diffstat (limited to 'src/main/java/com/gitblit/AddIndexedBranch.java')
-rw-r--r--src/main/java/com/gitblit/AddIndexedBranch.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/AddIndexedBranch.java b/src/main/java/com/gitblit/AddIndexedBranch.java
index e2f3dacf..6ae424ec 100644
--- a/src/main/java/com/gitblit/AddIndexedBranch.java
+++ b/src/main/java/com/gitblit/AddIndexedBranch.java
@@ -92,7 +92,7 @@ public class AddIndexedBranch {
config.load();
Set<String> indexedBranches = new LinkedHashSet<String>();
- indexedBranches.add(Constants.DEFAULT_BRANCH);
+ indexedBranches.add(params.branch);
String [] branches = config.getStringList("gitblit", null, "indexBranch");
if (!ArrayUtils.isEmpty(branches)) {