pretty: drop unused strbuf from parse_padding_placeholder()
commit9a1180fc304ad9831641e5788e9c8d3dfc10ccdd
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:16:42 +0000 (20 04:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (20 18:34 +0900)
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