t4013: add tests for diff/log family output options.
[gitweb.git] / git-repack.sh
index 4fb3f26e834f78d40ea629dcd6732d390a129d58..eb75c8cda95dabe190cfe9ddba0c6bd7072615f2 100755 (executable)
@@ -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" &&