gitweb: make repeated calls to git_get_project_owner() bearable
[gitweb.git] / git-repack.sh
index 3644a5a4d24dbf8ef80face0395dfa776df2901d..b5c667110d31fe9e083f8b7d4db727ed63333e37 100755 (executable)
@@ -66,7 +66,9 @@ args="$args $local $quiet $no_reuse$extra"
 names=$(git pack-objects --non-empty --all --reflog $args </dev/null "$PACKTMP") ||
        exit 1
 if [ -z "$names" ]; then
-       echo Nothing new to pack.
+       if test -z "$quiet"; then
+               echo Nothing new to pack.
+       fi
 fi
 for name in $names ; do
        fullbases="$fullbases pack-$name"