From: James Moger Date: Mon, 26 Mar 2012 00:29:44 +0000 (-0400) Subject: Index tags consistently X-Git-Tag: v0.9.0~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=33ceba86da02923f00908ba1eeaae557fa37d391;p=gitblit.git Index tags consistently --- diff --git a/src/com/gitblit/LuceneExecutor.java b/src/com/gitblit/LuceneExecutor.java index cd7074b6..25ed9daf 100644 --- a/src/com/gitblit/LuceneExecutor.java +++ b/src/com/gitblit/LuceneExecutor.java @@ -669,7 +669,7 @@ public class LuceneExecutor implements Runnable { // get any annotated commit tags List commitTags = new ArrayList(); - for (RefModel ref : JGitUtils.getTags(repository, true, -1)) { + for (RefModel ref : JGitUtils.getTags(repository, false, -1)) { if (ref.isAnnotatedTag() && ref.getReferencedObjectId().equals(commit.getId())) { commitTags.add(ref.displayName); }