]> git.cameronkatri.com Git - cgit.git/commit
cgit.c: refactor repo_config() from config_cb()
authorLars Hjemli <hjemli@gmail.com>
Sun, 23 Aug 2009 21:23:20 +0000 (23:23 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 24 Aug 2009 08:22:58 +0000 (10:22 +0200)
commita1b3938f711c9b0e5eedad1678535e5779da82c1
tree2e8ea8192ab3033a740d61ebdb67b1679427fff7
parent63816ec59748c622623f20e653a7bed87f4f05a4
cgit.c: refactor repo_config() from config_cb()

The new function repo_config() is used to handle all 'simple' repo
options, for the following reasons:
* code readability
* parser performance
* upcoming support for repo-local cgitrc files during scanning

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c