summaryrefslogtreecommitdiff
path: root/builtin/tag.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-26 15:55:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-26 15:55:22 -0700
commit2be421dbb6928421350fff407544ec34e68c1f73 (patch)
treebef952568dd4bc708d1ccc2e66ab2afd4e29ad78 /builtin/tag.c
parentMerge branch 'es/worktree-add' (diff)
parenttag.c: use the correct algorithm for the '--contains' option (diff)
downloadtgif-2be421dbb6928421350fff407544ec34e68c1f73.tar.xz
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 566078773f..8db8c87e57 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);