summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/cron.weekly/piny
blob: 3719879eb3e1039e71aa9a356cc02bbcdc5abff9 (plain)
1
2
3
4
5
6
7
8
#/bin/sh

export GIT_DIR

for GIT_DIR in `find /srv/git/ -mindepth 1 -type d -name '*.git' -print -prune`; do
  git gc --aggressive --auto --quiet
  git pack-refs --all
done