]> Lady’s Gitweb - Gitweb/commit
gitweb: Extract formatting of diff chunk header
authorJakub Narebski <redacted>
Sun, 30 Oct 2011 23:36:21 +0000 (00:36 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commit7028df23897649c2a5a51b69ef58f4e53e330aa179a95227d5f809c88688f427
tree3a78bc593918b59f820011b2a691e58c1a3cf723137233bf13c0de84141f4972
parent4578f9e1ba9fd2d88d07cf3c1054bee4aa0b49c59a2f2acb685b0ef2730bdd09
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.217767 seconds and 4 git commands to generate.