summaryrefslogtreecommitdiff
path: root/contrib/examples/git-repack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/git-repack.sh')
-rwxr-xr-xcontrib/examples/git-repack.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/examples/git-repack.sh b/contrib/examples/git-repack.sh
index f312405a25..96e3fed326 100755
--- a/contrib/examples/git-repack.sh
+++ b/contrib/examples/git-repack.sh
@@ -76,8 +76,8 @@ case ",$all_into_one," in
existing="$existing $e"
fi
done
- if test -n "$existing" -a -n "$unpack_unreachable" -a \
- -n "$remove_redundant"
+ if test -n "$existing" && test -n "$unpack_unreachable" && \
+ test -n "$remove_redundant"
then
# This may have arbitrary user arguments, so we
# have to protect it against whitespace splitting