James Moger
2014-04-15 a0d5c865f8e7161f73d5e4420e662e81f1640acd
src/main/java/com/gitblit/service/LuceneService.java
@@ -194,7 +194,7 @@
    * Synchronously indexes a repository. This may build a complete index of a
    * repository or it may update an existing index.
    *
    * @param name
    * @param displayName
    *            the name of the repository
    * @param repository
    *            the repository object
@@ -476,8 +476,8 @@
                  && 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 @@
                  && 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