summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/service
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-08 11:27:00 -0500
committerJames Moger <james.moger@gitblit.com>2014-03-08 11:27:00 -0500
commitc134a0c3f2440a09c5b8c8c6837c95aba3d4f84f (patch)
treeff373e9298876767b763890f345c10a02eef43a8 /src/main/java/com/gitblit/service
parentd8b4e317f116a6da616f8842ebf07f292e77de3f (diff)
downloadgitblit-c134a0c3f2440a09c5b8c8c6837c95aba3d4f84f.tar.gz
gitblit-c134a0c3f2440a09c5b8c8c6837c95aba3d4f84f.zip
Move Gitblit branches to refs/meta/gitblit
Diffstat (limited to 'src/main/java/com/gitblit/service')
-rw-r--r--src/main/java/com/gitblit/service/LuceneService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/gitblit/service/LuceneService.java b/src/main/java/com/gitblit/service/LuceneService.java
index 70e3b244..714a1e29 100644
--- a/src/main/java/com/gitblit/service/LuceneService.java
+++ b/src/main/java/com/gitblit/service/LuceneService.java
@@ -476,8 +476,8 @@ public class LuceneService implements Runnable {
&& branch.equals(defaultBranch)) {
// indexing "default" branch
indexBranch = true;
- } else if (branch.getName().startsWith(com.gitblit.Constants.R_GITBLIT)) {
- // skip Gitblit internal branches
+ } else if (branch.getName().startsWith(com.gitblit.Constants.R_META)) {
+ // skip internal meta branches
indexBranch = false;
} else {
// normal explicit branch check
@@ -807,8 +807,8 @@ public class LuceneService implements Runnable {
&& branch.equals(defaultBranch)) {
// indexing "default" branch
indexBranch = true;
- } else if (branch.getName().startsWith(com.gitblit.Constants.R_GITBLIT)) {
- // ignore internal Gitblit branches
+ } else if (branch.getName().startsWith(com.gitblit.Constants.R_META)) {
+ // ignore internal meta branches
indexBranch = false;
} else {
// normal explicit branch check