Code

gitweb: Syntax highlighting support
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 27 Apr 2010 19:34:44 +0000 (21:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 May 2010 16:38:52 +0000 (09:38 -0700)
commitb331fe54762770c647b8f95c8f5b16004c6120da
treef7af17cba3f6c988af79ff0b127b1a0840857adf
parentddb27a5a6b5ed74c70d56c96592b32eed415d72b
gitweb: Syntax highlighting support

It requires the 'highlight' program to do all the heavy-lifting.

This is loosely based on Daniel Svensson's and Sham Chukoury's work in
gitweb-xmms2.git (it cannot be cherry-picked, as gitweb-xmms2 first forked
wildly, then not contributed back, and then went stale).

[jn: cherry picked from bc1ed6aafd9ee4937559535c66c8bddf1864bec6
 in http://repo.or.cz/w/git/dscho.git, with a few changes]

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.css
gitweb/gitweb.perl