Merge branch 'zh/ref-filter-atom-type'
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 Jun 2021 04:33:25 +0000 (13:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jun 2021 04:33:25 +0000 (13:33 +0900)
commit289af163002a314d5a38f007715d4b12c6ef28ff
tree94be24bc31f23bb55c485423d9d4f565eac0df89
parent211eca0895794362184da2be2a2d812d070719d3
parent1197f1a46360d3ae96bd9c15908a3a6f8e562207
Merge branch 'zh/ref-filter-atom-type'

The code to handle the "--format" option in "for-each-ref" and
friends made too many string comparisons on %(atom)s used in the
format string, which has been corrected by converting them into
enum when the format string is parsed.

* zh/ref-filter-atom-type:
  ref-filter: introduce enum atom_type
  ref-filter: add objectsize to used_atom