summaryrefslogtreecommitdiff
path: root/contrib/examples/git-clone.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/git-clone.sh')
-rwxr-xr-xcontrib/examples/git-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/examples/git-clone.sh b/contrib/examples/git-clone.sh
index b4c9376a2c..08cf246bbb 100755
--- a/contrib/examples/git-clone.sh
+++ b/contrib/examples/git-clone.sh
@@ -516,7 +516,7 @@ then
case "$no_checkout" in
'')
- test "z$quiet" = z -a "z$no_progress" = z && v=-v || v=
+ test "z$quiet" = z && test "z$no_progress" = z && v=-v || v=
git read-tree -m -u $v HEAD HEAD
esac
fi