]> Lady’s Gitweb - Gitweb/commit
gitweb: New improved formatting of chunk header in diff
authorJakub Narebski <redacted>
Sat, 18 Nov 2006 22:35:40 +0000 (23:35 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit777b3213d1ddbb6ffe9da9389e8e95f7221141315164b47b1d5aca536ba1f2d4
tree279020a32a33cb02177b711371011b757c768bb07fa1e4292b9607525452bac3
parent7cf3180175bceea9dfbb8082c40a28dbeeb234c05e82e2e26ce62453c38705bb
gitweb: New improved formatting of chunk header in diff

If we have provided enough info, and diff is not combined diff,
and if provided diff line is chunk header, then:
* split chunk header into .chunk_info and .section span elements,
  first containing proper chunk header, second section heading
  (aka. which function), for separate styling: the proper chunk
  header is on non-white background, section heading part uses
  slightly lighter color.
* hyperlink from-file-range to starting line of from-file, if file
  was not created.
* hyperlink to-file-range to starting line of to-file, if file
  was not deleted.
Links are of invisible variety (and "list" class).

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
gitweb.perl
This page took 0.233658 seconds and 4 git commands to generate.