diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-11-21 12:21:34 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-11-21 12:21:34 -0800 |
commit | ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78 (patch) | |
tree | 242f195264335690b531c8055c579143e151cb26 /pinyconfigs/etc | |
parent | 2235d26983a8636a441aa8221f40cf916728e1c1 (diff) | |
download | piny-code-ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78.tar.gz piny-code-ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78.zip |
cron: make pack-refs slightly friendlier to wacky non-piny setups.
Diffstat (limited to 'pinyconfigs/etc')
-rwxr-xr-x | pinyconfigs/etc/cron.weekly/piny | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyconfigs/etc/cron.weekly/piny b/pinyconfigs/etc/cron.weekly/piny index 0a9195b..7299aa6 100755 --- a/pinyconfigs/etc/cron.weekly/piny +++ b/pinyconfigs/etc/cron.weekly/piny @@ -5,5 +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 + chown --reference="$GIT_DIR"/refs "$GIT_DIR"/packed-refs done |