diff options
Diffstat (limited to 'pinyconfigs/etc/cron.weekly/piny')
-rwxr-xr-x | pinyconfigs/etc/cron.weekly/piny | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pinyconfigs/etc/cron.weekly/piny b/pinyconfigs/etc/cron.weekly/piny index 59fda8f..0a9195b 100755 --- a/pinyconfigs/etc/cron.weekly/piny +++ b/pinyconfigs/etc/cron.weekly/piny @@ -5,4 +5,5 @@ 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 + chown --reference="$GIT_DIR"/objects "$GIT_DIR"/packed-refs done |