From b1d55f94267ad776856fd25c67b077e024257307 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 27 Apr 2007 04:13:08 +0200 Subject: [PATCH] Repack only local objects --- updatecheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatecheck.sh b/updatecheck.sh index b05555f..36368ec 100755 --- a/updatecheck.sh +++ b/updatecheck.sh @@ -10,7 +10,7 @@ cd /srv/git find . -name base_url | cut -c 3- | sed -e 's/\/base_url$//' | while read dir; do if [ -e "$dir"/.nofetch ]; then - (cd "$dir/objects" && [ "$(ls ?? 2>/dev/null)" ] && GIT_DIR=".." git repack -a -d) + (cd "$dir/objects" && [ "$(ls ?? 2>/dev/null)" ] && GIT_DIR=".." git repack -a -l -d) GIT_DIR="$dir" git update-server-info else /home/repo/repomgr/update.sh "${dir%.git}" -- 2.11.4.GIT