aboutsummaryrefslogtreecommitdiffstats
path: root/configfile.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2014-01-14 00:29:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 02:05:14 +0100
commit80f87c1003a4c58dc7e516d77598cd0213127c02 (patch)
tree0585d82b6440c2a1aec7dcefc64a69f755cb6a38 /configfile.c
parent3488d124052f5c3ddef303ed5306ad6a458794c1 (diff)
downloadcgit-80f87c1003a4c58dc7e516d77598cd0213127c02.tar.gz
cgit-80f87c1003a4c58dc7e516d77598cd0213127c02.tar.bz2
cgit-80f87c1003a4c58dc7e516d77598cd0213127c02.zip
filter: refactor cgit_new_filter()
Use prefixcmp() as a preparation for using strip_prefix() later. Also, interpret the command as a file name if it contains a colon but none of the filter prefixes matches instead of bailing out and adding a special check for Windows. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'configfile.c')
0 files changed, 0 insertions, 0 deletions