git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7b6511a
)
Fix: Support for the standard mime.types map in gitweb
author
Jakub Narebski
<redacted>
Tue, 20 Jun 2006 06:19:31 +0000
(06:19 +0000)
committer
Junio C Hamano
<redacted>
Tue, 20 Jun 2006 09:59:55 +0000
(
02:59
-0700)
Temporary fix: commented out offending line in mimetype_guess.
Signed-off-by: Junio C Hamano <redacted>
gitweb/gitweb.cgi
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.cgi
b/gitweb/gitweb.cgi
index d7da6368ce15c5461bd75498cae5db34fec5d0dc..78e6dd03462c8836743f3879c1d1832d5e9931e9 100755
(executable)
--- a/
gitweb/gitweb.cgi
+++ b/
gitweb/gitweb.cgi
@@
-1518,7
+1518,7
@@
sub mimetype_guess {
if ($mimetypes_file) {
my $file = $mimetypes_file;
- $file =~ m#^/# or $file = "$projectroot/$path/$file";
+
#
$file =~ m#^/# or $file = "$projectroot/$path/$file";
$mime = mimetype_guess_file($filename, $file);
}
$mime ||= mimetype_guess_file($filename, '/etc/mime.types');
git clone https://git.99rst.org/PROJECT