Skip to content
repack-repositories.sh 182 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
    (cd $i; sudo -u $USER git repack -a -d)