Skip to content

Commit

Permalink
Merge branch 'kn/for-each-tag'
Browse files Browse the repository at this point in the history
Recent update to "git tag --contains" caused a performance
regression.

* kn/for-each-tag:
  tag.c: use the correct algorithm for the '--contains' option
  • Loading branch information
Junio C Hamano committed Oct 26, 2015
2 parents 522e2f4 + 008ed7d commit 2be421d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2be421d

Please sign in to comment.