diff options
author | Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> | 2007-07-03 10:47:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-04 10:12:26 -0700 |
commit | d9fb395ae30b50e8a1059338884090b574d8a3e0 (patch) | |
tree | ad3eeb323992c2eaba2b5acfa02b871e28d8d5a3 /git-repack.sh | |
parent | 54adf3706c5c799584c1bcdcac96fb3285b97de4 (diff) | |
download | git-d9fb395ae30b50e8a1059338884090b574d8a3e0.tar.gz git-d9fb395ae30b50e8a1059338884090b574d8a3e0.tar.xz |
repack: don't report "Nothing new to pack." if -q is given
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-repack.sh')
-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" |