]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
pretty: drop unused "type" parameter in needs_rfc2047_encoding()
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:16:36 +0000 (04:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (18:34 +0900)
commitda55ff3d84b9edc635aba4a986de25ec219acd7a
tree73e4051c009de5d270c20e0e27afcb72ebfe5738
parent5205749d2ca81ea1d124ba7d799f4b319084ca68
pretty: drop unused "type" parameter in needs_rfc2047_encoding()

The "should we encode" check was split off from add_rfc2047() into its
own function in 41dd00bad3 (format-patch: fix rfc2047 address encoding
with respect to rfc822 specials, 2012-10-18). But only the "add" half
needs to know the rfc2047_type, since it only affects _how_ we encode,
not whether we do.

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