summaryrefslogtreecommitdiff
path: root/update-timestamps
blob: 34ec6a26e4c3475ab8efa8f0fecc34ab1086b742 (plain)
1
2
3
4
5
6
7
8
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