summaryrefslogtreecommitdiff
path: root/t/t3402-rebase-merge.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-26 09:56:33 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-26 12:45:21 -0700
commita778e54498ca5e65c141bcdaff60f9a10b942dbf (patch)
tree444af8023bf5c75c3766036c69f2b0c2e5a37b84 /t/t3402-rebase-merge.sh
parent0ad782f2406fa13f626653a001b5f01a9f3fa40f (diff)
downloadgit-a778e54498ca5e65c141bcdaff60f9a10b942dbf.tar.gz
diff.c: add emit_del_line() and update callers of emit_line_0()
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 have them call a new helper, emit_del_line(), so that we can later tweak what is done to deleted lines. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3402-rebase-merge.sh')
0 files changed, 0 insertions, 0 deletions