summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-02-14 00:48:13 -0500
committerJunio C Hamano <gitster@pobox.com>2019-02-14 15:26:14 -0800
commite04df61256a40e860dfcc5518fd4f0558c8c2f03 (patch)
treecf1aed818c78c4076494bc0ab5ca477d3faf659d /builtin/commit.c
parent784c0daed5435a7ea0630e64e424837e49e30148 (diff)
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions