gitweb on OpenBSD (-T not supported on filesystems...)
- From
- Andrew Pamment <andrew@mort-os.com>
- Date
- Sep 17, 2006, 08:45 UTC
- Message-ID
- <op.tf0k9fdvqpav6l@crystal.sienna.ath.cx>
Hi git people
I'm not sure if this is useful but I thought I would post it anyway,
in gitweb.cgi on line 1560 where you have -T testing a file descripter, it doesn't work on OpenBSD 3.9, which makes viewing blobs not work.
I solved this (or I think I have) by replacing $fd with $filename.
Andrew
-- Mort - http://www.mort-os.com/