Merge branch 'tb/show-ref-optim'
commit2246937e4165d4a7a238f1ea52da36bc7aa1274a
authorJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2022 22:53:42 +0000 (13 15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2022 22:53:42 +0000 (13 15:53 -0700)
treefe82609bfa03d22f8d125539cc1e30fa02f79f1a
parent11698e551ce0590af6d7ce1f5b683eca27e68ab3
parentc0c9d35e27e777d117362f6e96f433eb2b55bf76
Merge branch 'tb/show-ref-optim'

"git show-ref --heads" (and "--tags") still iterated over all the
refs only to discard refs outside the specified area, which has
been corrected.

* tb/show-ref-optim:
  builtin/show-ref.c: avoid over-iterating with --heads, --tags