diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-26 09:56:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-26 22:13:02 -0700 |
commit | 0e383e185ae57a8ee6ba015a43749f6d34fe3c9a (patch) | |
tree | c12dfc2ee74ff790ec2499e9b710da56748d2cf9 /Documentation/technical/api-parse-options.txt | |
parent | t4015: separate common setup and per-test expectation (diff) | |
download | tgif-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/technical/api-parse-options.txt')
0 files changed, 0 insertions, 0 deletions