Website Summary Files Commits Branches @commit @diff @stats
path: root / scan-tree.h
diff options
context:
space:
mode:
Commit93397a765b9d9af11b7d10c114406e303ea4fb1c (patch)
Author
 Lars Hjemli <hjemli@gmail.com>
2008-09-15 00:07:12 +0200
Committer
 Lars Hjemli <hjemli@gmail.com>
2008-09-15 23:35:27 +0200
Filesfa40c0c8df7549525123359bf817598ae7e9f43d /scan-tree.h
cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar
cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.tar.gz
cgit-93397a765b9d9af11b7d10c114406e303ea4fb1c.zip
Parente154edd8078020d6eba41b448afade0a68617f35 (diff)
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>
1 files changed, 3 insertions, 0 deletions
-rw-r--r--scan-tree.h3
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);