Add support for --scan-tree=<path> option to cgit

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>
This commit is contained in:
Lars Hjemli 2008-09-15 00:07:12 +02:00
parent e154edd807
commit 93397a765b
4 changed files with 184 additions and 3 deletions

3
scan-tree.h Normal file
View file

@ -0,0 +1,3 @@
extern void scan_tree(const char *path);