Skip to content

Commit 2be421d

Browse files
committed
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
2 parents 522e2f4 + 008ed7d commit 2be421d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/tag.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ static int list_tags(struct ref_filter *filter, struct ref_sorting *sorting, con
5252
}
5353

5454
verify_ref_format(format);
55+
filter->with_commit_tag_algo = 1;
5556
filter_refs(&array, filter, FILTER_REFS_TAGS);
5657
ref_array_sort(sorting, &array);
5758

0 commit comments

Comments
 (0)