aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorFerry Huberts <[email protected]>2012-10-09 11:10:48 +0000
committerJason A. Donenfeld <[email protected]>2012-10-09 11:19:12 +0000
commitd14faf4424ae06ced696c15f205c85fe55b8e6e7 (patch)
tree882b444c1bde093b83f594f874366f90839f2c74 /cgit.h
parentui-repolist: do not use agefile if it's date could not be parsed (diff)
downloadcgit-d14faf4424ae06ced696c15f205c85fe55b8e6e7.tar.gz
cgit-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 <[email protected]>
Diffstat (limited to 'cgit.h')
0 files changed, 0 insertions, 0 deletions