]> git.scripts.mit.edu Git - git.git/commit
refs: add `exclude_patterns` parameter to `for_each_fullref_in()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 7 May 2024 07:11:44 +0000 (09:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2024 17:06:59 +0000 (10:06 -0700)
commit54876c6dfba771612245cf57b2217c5b00ced29d
treecaa48e88b17a4f00193972a190f1040d98a936e3
parent39a9ef8fc4e7dbcb078369f9c2560ebc69bbbb1d
refs: add `exclude_patterns` parameter to `for_each_fullref_in()`

The `for_each_fullref_in()` function is supposedly the ref-store-less
equivalent of `refs_for_each_fullref_in()`, but the latter has gained a
new parameter `exclude_patterns` over time. Bring these two functions
back in sync again by adding the parameter to the former function, as
well.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-parse.c
builtin/show-ref.c
ref-filter.c
refs.c
refs.h