aboutsummaryrefslogtreecommitdiffstats
path: root/scan-tree.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-09-15 00:07:12 +0200
committerLars Hjemli <hjemli@gmail.com>2008-09-15 23:35:27 +0200
commit93397a765b9d9af11b7d10c114406e303ea4fb1c (patch)
treefa40c0c8df7549525123359bf817598ae7e9f43d /scan-tree.h
parente154edd8078020d6eba41b448afade0a68617f35 (diff)
downloadcgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar.gz
cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar.xz
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.h3
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 @@
+
+
+extern void scan_tree(const char *path);