gitweb: New improved formatting of chunk header in diff
commit59e3b14e08bf309baa692bf251b2cedcde131308
authorJakub Narebski <jnareb@gmail.com>
Sat, 18 Nov 2006 22:35:40 +0000 (18 23:35 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 21 Nov 2006 22:35:40 +0000 (21 14:35 -0800)
tree64278f2137c2c84a08ab4740c67f3ea1ef0678cc
parent9954f772eb73593d9e660e3b2c3f90341b03a087
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.css
gitweb/gitweb.perl