summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d294e1c)
raw | patch | inline | side by side (parent: d294e1c)
author | Jakub Narebski <jnareb@gmail.com> | |
Mon, 14 Aug 2006 00:15:22 +0000 (02:15 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Aug 2006 00:30:16 +0000 (17:30 -0700) |
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 4fe3fc7b4494c37e05947736f0ae82d6feba5764..52ae2aa8613e7831c2ebff8f9f9d791d62cfc214 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
my %mimemap;
open(MIME, $mimemap) or return undef;
while (<MIME>) {
+ next if m/^#/; # skip comments
my ($mime, $exts) = split(/\t+/);
if (defined $exts) {
my @exts = split(/\s+/, $exts);