summaryrefslogtreecommitdiff
path: root/compat/msvc.c
diff options
context:
space:
mode:
authorLibravatar Michał Kiedrowicz <michal.kiedrowicz@gmail.com>2012-04-11 23:18:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-11 14:26:02 -0700
commitf4a81026508a48a129bd936aef2c75ac1f1cdd97 (patch)
tree2b9de5d63c10d7927622c3d0419e4ce259dd4688 /compat/msvc.c
parentgitweb: Use print_diff_chunk() for both side-by-side and inline diffs (diff)
downloadtgif-f4a81026508a48a129bd936aef2c75ac1f1cdd97.tar.xz
gitweb: Push formatting diff lines to print_diff_chunk()
Now lines are formatted closer to place where we actually use HTML formatted output. This means that we put raw lines in the @chunk accumulator, rather than formatted lines. Because we still need to know class (type) of line when accumulating data to post-process and print, process_diff_line() subroutine was retired and replaced by diff_line_class() used in git_patchset_body() and new restructured format_diff_line() used in print_diff_chunk(). As a side effect, we have to pass \%from and \%to down to callstack. This is a preparation patch for diff refinement highlightning. It's not meant to change gitweb output. [jn: wrote commit message] Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com> Acked-by: Jakub Narębski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/msvc.c')
0 files changed, 0 insertions, 0 deletions