From 2235d26983a8636a441aa8221f40cf916728e1c1 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 21 Nov 2011 12:18:32 -0800 Subject: cron: establish ownership of packed-refs --- pinyconfigs/etc/cron.weekly/piny | 1 + 1 file changed, 1 insertion(+) (limited to 'pinyconfigs') 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 -- cgit v1.2.3