[PATCH] gitweb.perl: fix %highlight_ext

2012-10-29 Thread rh
I also consolidated exts where applicable. i.e. c and h maps to c -- diff --git a/a/gitweb.cgi b/b/gitweb.cgi index 060db27..155b238 100755 --- a/a/gitweb.cgi +++ b/b/gitweb.cgi @@ -246,19 +246,19 @@ our %highlight_basename = ( 'Makefile' => 'make', ); # match by extension + our %hig

gitweb

2012-10-28 Thread rh
I'm not using gitweb I was thinking about using it and was looking at the cgi and saw this in this file: https://github.com/git/git/blob/master/gitweb/gitweb.perl I think I understand the intention but the outcome is wrong. our %highlight_ext = ( # main extensions, defining name of synta