]> git.ipfire.org Git - thirdparty/git.git/commit
refs.c: rename `ref_filter`
authorJeff King <peff@peff.net>
Mon, 10 Jul 2023 21:12:05 +0000 (17:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2023 21:48:55 +0000 (14:48 -0700)
commitbf1377a12b904a01692be9f0fd5746c7e71c8878
tree456d17ae12996aeced346e15e849b5ccc271a015
parentfe86abd7511a9a6862d5706c6fa1d9b57a63ba09
refs.c: rename `ref_filter`

The refs machinery has its own implementation of a `ref_filter` (used by
`for-each-ref`), which is distinct from the `ref-filter.h` API (also
used by `for-each-ref`, among other things).

Rename the one within refs.c to more clearly indicate its purpose.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c