From: Jeff King Date: Thu, 14 Feb 2019 05:48:13 +0000 (-0500) Subject: diff: drop unused color reset parameters X-Git-Tag: v2.22.0-rc0~167^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e04df61256a40e860dfcc5518fd4f0558c8c2f03?hp=e04df61256a40e860dfcc5518fd4f0558c8c2f03 diff: drop unused color reset parameters Several of the emit_* functions take a "reset" color parameter, but never actually look at it (instead, they call into emit_diff_symbol, which handles the colors itself). Let's drop these unused parameters. Note that emit_line() does still take a color/reset pair, and actually uses it. It cannot be refactored to match these other functions because it's the thing that emit_diff_symbol eventually calls into (i.e., it does not by itself know which colors to use, and must be told by the caller). Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---