diff options
author | Jeff King <peff@peff.net> | 2012-02-13 17:33:10 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-13 15:57:06 -0800 |
commit | 6463fd7ed189f4100e1102062f29b969384f1436 (patch) | |
tree | 30191df0aeae55632f7ee4a40b26d7d101207698 /shell.c | |
parent | diff-highlight: don't highlight whole lines (diff) | |
download | tgif-6463fd7ed189f4100e1102062f29b969384f1436.tar.xz |
diff-highlight: refactor to prepare for multi-line hunks
The current code structure assumes that we will only look at
a pair of lines at any given time, and that the end result
should always be to output that pair. However, we want to
eventually handle multi-line hunks, which will involve
collating pairs of removed/added lines. Let's refactor the
code to return highlighted pairs instead of printing them.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions