about summary refs log tree commit diff
path: root/ui-diff.h
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2012-10-09 13:10:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-09 13:19:12 +0200
commitd14faf4424ae06ced696c15f205c85fe55b8e6e7 (patch)
tree882b444c1bde093b83f594f874366f90839f2c74 /ui-diff.h
parentui-repolist: do not use agefile if it's date could not be parsed (diff)
downloadcgit-pink-d14faf4424ae06ced696c15f205c85fe55b8e6e7.tar.gz
cgit-pink-d14faf4424ae06ced696c15f205c85fe55b8e6e7.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
:41 -0500'>2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe