diff options
author | Ferry Huberts <ferry.huberts@pelagic.nl> | 2012-10-09 20:10:48 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-09 20:19:12 (JST) |
commit | d14faf4424ae06ced696c15f205c85fe55b8e6e7 (patch) | |
tree | 882b444c1bde093b83f594f874366f90839f2c74 /tests/t0103-log.sh | |
parent | e52a5226b83dc5232adb7d9076cae3ad4b123df4 (diff) | |
download | cgit-d14faf4424ae06ced696c15f205c85fe55b8e6e7.zip cgit-d14faf4424ae06ced696c15f205c85fe55b8e6e7.tar.gz |
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 'tests/t0103-log.sh')
0 files changed, 0 insertions, 0 deletions