]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: mark unused parameters in parser callbacks
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:06 +0000 (19:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 00:56:24 +0000 (17:56 -0700)
commit29c9f2c3664d30189f5dc04e44c13287176ca260
tree1ba38e46a9b5ba838ab5523b5768976adaf0499a
parentc9f7b1e8f27fac13656eba21261a4a12df23c751
ref-filter: mark unused parameters in parser callbacks

These are similar to the cases annotated in 5fe9e1ce2f (ref-filter: mark
unused callback parameters, 2023-02-24), but were added after that
commit.

Note that the ahead/behind callback ignores its "atom" parameter, which
is a little unusual, since that struct usually stores the result. But in
this case, the data is stored centrally in ref_array->counts, since we
want to compute all ahead/behinds at once, not per ref.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c