From: Martin Langhoff Date: Sat, 24 Jun 2006 09:41:25 +0000 (+1200) Subject: git-repack -- respect -q and be quiet X-Git-Tag: v1.4.1-rc2~32 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1054dcd1652644f3a80cf6ce546d24c1fee4066a;p=git.git git-repack -- respect -q and be quiet git-repack was passing the -q along to pack-objects but ignoring it itself. Correct the oversight. Signed-off-by: Martin Langhoff Signed-off-by: Junio C Hamano --- diff --git a/git-repack.sh b/git-repack.sh index 4fb3f26e8..eb75c8cda 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -49,8 +49,9 @@ name=$(git-rev-list --objects --all $rev_list 2>&1 | if [ -z "$name" ]; then echo Nothing new to pack. else - echo "Pack pack-$name created." - + if test "$quiet" != '-q'; then + echo "Pack pack-$name created." + fi mkdir -p "$PACKDIR" || exit mv .tmp-pack-$name.pack "$PACKDIR/pack-$name.pack" &&