summaryrefslogtreecommitdiff
path: root/t/t4013/diff.format-patch_--stdout_initial..master^
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-02-14 00:50:58 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-14 15:26:15 -0800
commit25051cac802b01a588f8170e96f97bf17869177a (patch)
tree6cc25597f9a2994603f9550060b63467d4d958c7 /t/t4013/diff.format-patch_--stdout_initial..master^
parentref-filter: drop unused buf/sz pairs (diff)
downloadtgif-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/t4013/diff.format-patch_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions