]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
pretty: drop unused strbuf from parse_padding_placeholder()
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:16:42 +0000 (04:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (18:34 +0900)
commit9a1180fc304ad9831641e5788e9c8d3dfc10ccdd
tree3fe0b620ad3a050a7eb8f47dd92041da8d4b3106
parentda55ff3d84b9edc635aba4a986de25ec219acd7a
pretty: drop unused strbuf from parse_padding_placeholder()

Unlike other parts of the --pretty user-format expansion,
this function is not actually writing to the output, but
instead just storing the padding values into a context
struct. We don't need to be passed a strbuf at all.

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