summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/2.2.2.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-05-26 09:56:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-26 22:13:02 -0700
commit0e383e185ae57a8ee6ba015a43749f6d34fe3c9a (patch)
treec12dfc2ee74ff790ec2499e9b710da56748d2cf9 /Documentation/RelNotes/2.2.2.txt
parentt4015: separate common setup and per-test expectation (diff)
downloadtgif-0e383e185ae57a8ee6ba015a43749f6d34fe3c9a.tar.xz
diff.c: add emit_del_line() and emit_context_line()
Traditionally, we only had emit_add_line() helper, which knows how to find and paint whitespace breakages on the given line, because we only care about whitespace breakages introduced in new lines. The context lines and old (i.e. deleted) lines are emitted with a simpler emit_line_0() that paints the entire line in plain or old colors. Identify callers of emit_line_0() that show deleted lines and context lines, have them call new helpers, emit_del_line() and emit_context_line(), so that we can later tweak what is done to these two classes of lines. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.2.2.txt')
0 files changed, 0 insertions, 0 deletions