Skip to content
repack-repositories.sh 191 B
Newer Older
USER=www-data
RELATE_GIT_ROOT=/web/relate-git-root

for i in "$RELATE_GIT_ROOT"/*; do
  if test -d "$i/.git"; then
    su $USER -c "cd $i ; git repack -a -d"
  fi
done