From 7b3b6fc23baab2083e760db3fc85c7497988681c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 23 Aug 2012 23:28:28 +0200 Subject: git-push-all: don't be redundant --- git-push-all | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git-push-all b/git-push-all index 18fd4f9..cf90de9 100755 --- a/git-push-all +++ b/git-push-all @@ -2,8 +2,7 @@ # opts=${1:-"--all"} echo -e "\033[0;31mgit repack\033[0m" -git fsck --unreachable && git prune && git gc --aggressive -git repack -ad --depth=250 --window=250 +git gc --prune --aggressive for host in $(git remote); do echo -e "\033[0;35mpush to \033[0;31m$host \033[0;36m$opts\033[0m" && git push $opts $host done -- cgit v1.1-2-g2b99