diff options
author | Jakub Narebski <jnareb@gmail.com> | 2011-10-31 00:36:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-31 15:22:55 -0700 |
commit | f1310cf5e70ad54aa61c18f5740439c67be3df32 (patch) | |
tree | 7ff30ec3fe5b9e0687c1e3161d36f8567b236fe0 /pretty.c | |
parent | gitweb: Refactor diff body line classification (diff) | |
download | tgif-f1310cf5e70ad54aa61c18f5740439c67be3df32.tar.xz |
gitweb: Extract formatting of diff chunk header
Refactor main parts of HTML-formatting for diff chunk headers
(formatting means here adding links and syntax hightlighting) into
separate subroutines:
* format_unidiff_chunk_header for ordinary diff,
* format_cc_diff_chunk_header for combined diff
(more than one parent)
This makes format_diff_line() subroutine easier to follow.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
0 files changed, 0 insertions, 0 deletions