summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7597763)
raw | patch | inline | side by side (parent: 7597763)
author | Kay Sievers <kay.sievers@suse.de> | |
Wed, 23 Nov 2005 15:02:13 +0000 (16:02 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Wed, 23 Nov 2005 15:02:13 +0000 (16:02 +0100) |
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index dc4435c090779260ab900cc00d9522cdb77043d9..aaf79ccd2c3634ff9b96979c1b76b3b2ebfa4374 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
# git-logo (cached in browser for one day)
sub git_logo {
+ binmode STDOUT, ':raw';
print $cgi->header(-type => 'image/png', -expires => '+1d');
# cat git-logo.png | hexdump -e '16/1 " %02x" "\n"' | sed 's/ /\\x/g'
print "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52" .