diff options
| author | Jeff King <peff@peff.net> | 2019-02-14 00:48:13 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-14 15:26:14 -0800 |
| commit | e04df61256a40e860dfcc5518fd4f0558c8c2f03 (patch) | |
| tree | cf1aed818c78c4076494bc0ab5ca477d3faf659d /refs/files-backend.c | |
| parent | diff: drop options parameter from diffcore_fix_diff_index() (diff) | |
| download | git-e04df61256a40e860dfcc5518fd4f0558c8c2f03.tar.gz git-e04df61256a40e860dfcc5518fd4f0558c8c2f03.zip | |
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 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
