cgit and symlinks

Olliver Schinagl oliver+cgit at schinagl.nl
Mon Mar 6 11:42:14 CET 2017


Hey list,

first off, thanks for git, it is an amazing product and I've been a very 
happy user for years.

Having said that, I was playing around with a simple script and noticed 
wget gave 404's on symlinks.

As an example:

http://git.schinagl.nl/debootstrap.git/plain/scripts/stretch

at the very least I would expect the content of the link as for example 
github shows:
https://raw.githubusercontent.com/oliv3r/debootstrap/master/scripts/stretch

having said that, even github handles it wrong imo, as I would expect 
the webserver to 'get' a symlink and thus just follow the symlink and 
thus get the content of the file (in raw/plain mode).

I have tried googeling and checked cgitrc for my 0.12 but have not found 
anything yet.

Did I simply miss something configuration wise?

Thanks,

Olliver


More information about the CGit mailing list