summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stagit-gen-index6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/stagit-gen-index b/bin/stagit-gen-index
new file mode 100755
index 0000000..d3ba121
--- /dev/null
+++ b/bin/stagit-gen-index
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Index repositories.
+
+repos="/srv/git/*.git"
+www="/var/www/git"
+stagit-index "$repos" > "$www"/index.html