Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | truncate buffer before reading empty files | Simon Arlott | 2009-08-18 | -0/+1 |
| | | | | | | | | | | 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-16 | -0/+136 |
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> |