From e687343f1e3f1b7fa2fbbe7707b04328b2cd4162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 31 Aug 2012 12:54:18 +0200 Subject: git-synk: simplify cleaning --- git-synk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-synk b/git-synk index 61490e2..9f92b91 100755 --- a/git-synk +++ b/git-synk @@ -67,7 +67,7 @@ for gitdir in ${GIT_DIR}; do fail "KO" && continue fi # GC + CLEAN - echo -ne " ${CYAN}clean$RESET ... " && git prune && git gc --quiet && git repack >/dev/null && git diff --quiet && success + echo -ne " ${CYAN}clean$RESET ... " && git gc --prune --quiet && git repack >/dev/null && git diff --quiet && success if [ $? -ne 0 ]; then if [ "$action" = "push" ]; then success "dirty but " -- cgit v1.1-2-g2b99