summaryrefslogtreecommitdiff
path: root/notes-utils.h
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-08-13 18:41:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-14 14:03:05 -0700
commit017ac45e87074a51e7bf926b8f87152a1af9a441 (patch)
tree7c758cd579b8481b9fb12a197eb6d194c6c6d57e /notes-utils.h
parentdiff.c: reorder arguments for emit_line_ws_markup (diff)
downloadtgif-017ac45e87074a51e7bf926b8f87152a1af9a441.tar.xz
diff.c: add set_sign to emit_line_0
Split the meaning of the `set` parameter that is passed to emit_line_0()` to separate between the color of the "sign" (i.e. the diff marker '+', '-' or ' ' that is passed in as the `first` parameter) and the color of the rest of the line. This changes the meaning of the `set` parameter to no longer refer to the color of the diff marker, but instead to refer to the color of the rest of the line. A value of `NULL` indicates that the rest of the line wants to be colored the same as the diff marker. Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-utils.h')
0 files changed, 0 insertions, 0 deletions