diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-11-21 12:18:32 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-11-21 12:18:32 -0800 |
commit | 2235d26983a8636a441aa8221f40cf916728e1c1 (patch) | |
tree | a0bb51302edd73e67c25a6a9984ccb8164a1052f /pinyconfigs | |
parent | 9fce5322437e55a6af3185d5c29454b7c70dd64a (diff) | |
download | piny-code-2235d26983a8636a441aa8221f40cf916728e1c1.tar.gz piny-code-2235d26983a8636a441aa8221f40cf916728e1c1.zip |
cron: establish ownership of packed-refs
Diffstat (limited to 'pinyconfigs')
-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 |