diff options
author | Lars Hjemli | 2008-09-15 00:07:12 +0200 |
---|---|---|
committer | Lars Hjemli | 2008-09-15 23:35:27 +0200 |
commit | 93397a765b9d9af11b7d10c114406e303ea4fb1c (patch) | |
tree | fa40c0c8df7549525123359bf817598ae7e9f43d /scan-tree.h | |
parent | e154edd8078020d6eba41b448afade0a68617f35 (diff) | |
download | cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar.gz cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar.bz2 cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.zip |
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>
Diffstat (limited to 'scan-tree.h')
-rw-r--r-- | scan-tree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scan-tree.h b/scan-tree.h new file mode 100644 index 0000000..b103b16 --- /dev/null +++ b/scan-tree.h | |||
@@ -0,0 +1,3 @@ | |||
1 | |||
2 | |||
3 | extern void scan_tree(const char *path); | ||