summaryrefslogtreecommitdiff
path: root/builtin/tag.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-26 22:55:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-26 22:55:22 (GMT)
commit2be421dbb6928421350fff407544ec34e68c1f73 (patch)
treebef952568dd4bc708d1ccc2e66ab2afd4e29ad78 /builtin/tag.c
parent522e2f4515c4157c445fa49ed2a920f19711d5d9 (diff)
parent008ed7df93082103c8c74d045e573e19868b2c6b (diff)
downloadgit-2be421dbb6928421350fff407544ec34e68c1f73.zip
git-2be421dbb6928421350fff407544ec34e68c1f73.tar.gz
git-2be421dbb6928421350fff407544ec34e68c1f73.tar.bz2
Merge branch 'kn/for-each-tag'
Recent update to "git tag --contains" caused a performance regression. * kn/for-each-tag: tag.c: use the correct algorithm for the '--contains' option
Diffstat (limited to 'builtin/tag.c')
-rw-r--r--builtin/tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/tag.c b/builtin/tag.c
index 5660787..8db8c87 100644
--- a/builtin/tag.c
+++ b/builtin/tag.c
@@ -52,6 +52,7 @@ static int list_tags(struct ref_filter *filter, struct ref_sorting *sorting, con
}
verify_ref_format(format);
+ filter->with_commit_tag_algo = 1;
filter_refs(&array, filter, FILTER_REFS_TAGS);
ref_array_sort(sorting, &array);