2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-10 07:10:33 +00:00
cgit/filters
Ferry Huberts d14faf4424 syntax-highlight: when the file has no extension, assume text
There are 2 situations:
1- empty extension: assuming text is better than highlight
   producing no output because of a missing argument.
2- no extension at all: assuming text is better than setting
   the extension to the filename, which is what now happens.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2012-10-09 13:19:12 +02:00
..
commit-links.sh commit-links.sh: improve regular expressions 2011-07-19 07:12:02 +00:00
syntax-highlighting.sh syntax-highlight: when the file has no extension, assume text 2012-10-09 13:19:12 +02:00