summaryrefslogtreecommitdiff
path: root/bundle.h
diff options
context:
space:
mode:
authorMichał Kiedrowicz <michal.kiedrowicz@gmail.com>2012-04-11 21:18:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-11 21:26:02 (GMT)
commitf4a81026508a48a129bd936aef2c75ac1f1cdd97 (patch)
tree2b9de5d63c10d7927622c3d0419e4ce259dd4688 /bundle.h
parent44185f93f46af7077585ef7ccf5339334a4ab487 (diff)
downloadgit-f4a81026508a48a129bd936aef2c75ac1f1cdd97.zip
git-f4a81026508a48a129bd936aef2c75ac1f1cdd97.tar.gz
git-f4a81026508a48a129bd936aef2c75ac1f1cdd97.tar.bz2
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 'bundle.h')
0 files changed, 0 insertions, 0 deletions