gitweb: use the shebang line to infer highlight syntax
commit0ba3846c436679c72f83953f380ea3999c458931
authorKyle J. McKay <mackyle@gmail.com>
Fri, 17 Apr 2015 21:03:45 +0000 (17 14:03 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 17 Apr 2015 21:03:45 +0000 (17 14:03 -0700)
tree44c2703e8a20c134489ebbdce70869cf6feb8816
parent2b17b72350f4ed7ceb5dd7242985c396cbfce23e
gitweb: use the shebang line to infer highlight syntax

When guessing the file syntax to use when running the highlight
command, use the presence of a shebang (#!) line to guide us
if one is available.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl