diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-08 11:27:00 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-08 11:27:00 -0500 |
commit | c134a0c3f2440a09c5b8c8c6837c95aba3d4f84f (patch) | |
tree | ff373e9298876767b763890f345c10a02eef43a8 /src/main/java/com/gitblit/service | |
parent | d8b4e317f116a6da616f8842ebf07f292e77de3f (diff) | |
download | gitblit-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.java | 8 |
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
|