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 b4c9376..08cf246 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