summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-timestamps9
1 files changed, 9 insertions, 0 deletions
diff --git a/update-timestamps b/update-timestamps
new file mode 100755
index 0000000..34ec6a2
--- /dev/null
+++ b/update-timestamps
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+REPOSITORIES=$(find /home/git/* -name '*.git' -type d)
+
+for repo in $REPOSITORIES; do
+ cd $repo
+ mkdir -p info/web
+ echo $(git log -1 --date=iso --format=%ci) > info/web/last-modified
+done