diff options
-rwxr-xr-x | git-repack.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-repack.sh b/git-repack.sh index 3644a5a4d..b5c667110 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -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" |