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 /strbuf.c | |
parent | 20a864cd835d5d3f559c3cddf5ac5c259bd61171 (diff) | |
download | git-f1310cf5e70ad54aa61c18f5740439c67be3df32.tar.gz git-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 'strbuf.c')
0 files changed, 0 insertions, 0 deletions