Merge branch 'tb/ls-refs-optim'
authorJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2021 00:40:45 +0000 (16:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2021 00:40:45 +0000 (16:40 -0800)
commit6254fa13596cee0ea645317ba3eb4552430f38b4
tree478d0213d0acbaed6cec84a10a92670520b736bd
parent5198426d914ae15b52f85958c224a92f48e4f95e
parentb3970c702cb0acc0551d88a5f34ad4ad2e2a6d39
Merge branch 'tb/ls-refs-optim'

The ls-refs protocol operation has been optimized to narrow the
sub-hierarchy of refs/ it walks to produce response.

* tb/ls-refs-optim:
  ls-refs.c: traverse prefixes of disjoint "ref-prefix" sets
  ls-refs.c: initialize 'prefixes' before using it
  refs: expose 'for_each_fullref_in_prefixes'
ls-refs.c
ref-filter.c
refs.c
refs.h