diff.c: pass sign_index to emit_line_ws_markup
commitbc9feb05a7027d9b795bc2bc35f26131b718fc08
authorStefan Beller <sbeller@google.com>
Wed, 10 Oct 2018 23:24:59 +0000 (10 16:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Oct 2018 14:11:43 +0000 (12 23:11 +0900)
treed72dbd3f0293eaedbe42b0f4c7a94a513040d2a9
parent5a0cc8aca797dbd7d2be3b67458ff880ed45cddf
diff.c: pass sign_index to emit_line_ws_markup

Instead of passing the sign directly to emit_line_ws_markup, pass only the
index to lookup the sign in diff_options->output_indicators.

Signed-off-by: Stefan Beller <sbeller@google.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c