diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:22 -0700 |
commit | 2be421dbb6928421350fff407544ec34e68c1f73 (patch) | |
tree | bef952568dd4bc708d1ccc2e66ab2afd4e29ad78 /builtin | |
parent | 522e2f4515c4157c445fa49ed2a920f19711d5d9 (diff) | |
parent | 008ed7df93082103c8c74d045e573e19868b2c6b (diff) | |
download | git-2be421dbb6928421350fff407544ec34e68c1f73.tar.gz |
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')
-rw-r--r-- | builtin/tag.c | 1 |
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); |