diff options
author | Jeff King <peff@peff.net> | 2019-02-14 00:50:58 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-14 15:26:15 -0800 |
commit | 25051cac802b01a588f8170e96f97bf17869177a (patch) | |
tree | 6cc25597f9a2994603f9550060b63467d4d958c7 /t/t4034/objc/post | |
parent | ref-filter: drop unused buf/sz pairs (diff) | |
download | tgif-25051cac802b01a588f8170e96f97bf17869177a.tar.xz |
ref-filter: drop unused "obj" parameters
The grab_person() and grab_sub_body_contents() functions take both an
object struct and a buf/sz pair of the object bytes. However, they use
only the latter, since "struct object" does not contain the parsed ident
(nor the whole commit message, of course).
Let's get rid of these misleading "struct object" parameters. It's
possible we may want them in the future (e.g., to generate error
messages that mention the object id), but since these are static
functions, we can easily add them back in later (and if we do want that
information, it's likely we'd pass it through a more generalized
"parsing context" struct anyway).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/objc/post')
0 files changed, 0 insertions, 0 deletions