]> source.dussan.org Git - gitblit.git/commitdiff
Index tags consistently
authorJames Moger <james.moger@gitblit.com>
Mon, 26 Mar 2012 00:29:44 +0000 (20:29 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 26 Mar 2012 00:29:44 +0000 (20:29 -0400)
src/com/gitblit/LuceneExecutor.java

index cd7074b633822e57e9998ad4918e87738fd7670c..25ed9daf69757288ca9ddc943a681f792c6c4bb2 100644 (file)
@@ -669,7 +669,7 @@ public class LuceneExecutor implements Runnable {
                        \r
                        // get any annotated commit tags\r
                        List<String> commitTags = new ArrayList<String>();\r
-                       for (RefModel ref : JGitUtils.getTags(repository, true, -1)) {\r
+                       for (RefModel ref : JGitUtils.getTags(repository, false, -1)) {\r
                                if (ref.isAnnotatedTag() && ref.getReferencedObjectId().equals(commit.getId())) {\r
                                        commitTags.add(ref.displayName);\r
                                }\r