Website Summary Files Commits Branches @commit @diff @stats
path: root / scan-tree.c
Commit message (Collapse)AuthorAgeLinesSHA
* truncate buffer before reading empty files
 Simon Arlott
2009-08-18-0/+1011f2e9
| | | | | | | | | | If readfile() reads an empty file, fgets() won't truncate the buffer and it'll still contain the contents of the previously read file. [lh: fixed similar issue in ui-repolist.c] Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add support for --scan-tree=<path> option to cgit
 Lars Hjemli
2008-09-15-0/+13693397a7
This option makes cgit scan a directory tree looking for git repositories, generating suitable definitions for a cgitrc file on stdout. Signed-off-by: Lars Hjemli <hjemli@gmail.com>