about summary refs log tree commit diff
path: root/tests/filters
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2014-07-27 20:50:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-08-07 14:38:02 +0200
commit9dd67272ed57e8923510197eb5ac8d3f819fbb26 (patch)
tree395d89b92be73223a430e7dff2c352fed05e51ab /tests/filters
parentcgitrc.5: we mean a cgi response, not request (diff)
downloadcgit-pink-9dd67272ed57e8923510197eb5ac8d3f819fbb26.tar.gz
cgit-pink-9dd67272ed57e8923510197eb5ac8d3f819fbb26.zip
Always check if README exists in choose_readme()
Specifying a nonexistent README file via the readme option is sometimes
useful, e.g. when using scan-path and setting a global default.
Currently, we check whether there is only one option in the readme
option and, if so, we choose that file without checking whether it
exists. As a consequence, all repositories are equipped with an about
link in the aforementioned scenario, even if there is no about file.
Remove the early check for the number of keys and always check whether
the file exists instead.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/filters')
0 files changed, 0 insertions, 0 deletions
d=c0a5db53b18ed140599cf14841e1462ef211eafe&follow=1'>Remove color from MakefileJune McEnroe 2018-01-29Set t_Co = 8June McEnroe Weirdly with t_Co = 16 yellow and bright white weren't showing up on TERM=linux. 2018-01-29Add :Q command aliasJune McEnroe It seemes I can't take my finger off the shift key fast enough. 2018-01-29Add setuid target for briJune McEnroe 2018-01-28Add init function to fb interfaceJune McEnroe 2018-01-28Add color.cJune McEnroemit/README.7?h=1.3&id=1bb60065c36c97d9dcad853c0c79a836ceed24e3&follow=1'>Add INSTALLING section to READMEJune McEnroe