summaryrefslogtreecommitdiff
path: root/t/t5702-clone-options.sh
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-12-25 17:12:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-12-29 02:49:19 (GMT)
commit5a518ad4679c91f0d0afd38fcc3cbf04e8699c46 (patch)
treed10718feef2c6910278b2595de81da1c2ecd0c77 /t/t5702-clone-options.sh
parent65273bfb9b6991138d298527d971e82e28fe678e (diff)
downloadgit-5a518ad4679c91f0d0afd38fcc3cbf04e8699c46.zip
git-5a518ad4679c91f0d0afd38fcc3cbf04e8699c46.tar.gz
git-5a518ad4679c91f0d0afd38fcc3cbf04e8699c46.tar.bz2
clone: use --progress to force progress reporting
Follow the argument convention of git-pack-objects, such that a separate option (--preogress) is used to force progress reporting instead of -v/--verbose. -v/--verbose now does not force progress reporting. Make git-clone.txt say so. This should cover all the bases in 21188b1 (Implement git clone -v), which implemented the option to force progress reporting. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5702-clone-options.sh')
-rwxr-xr-xt/t5702-clone-options.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t5702-clone-options.sh b/t/t5702-clone-options.sh
index 27825f5..02cb024 100755
--- a/t/t5702-clone-options.sh
+++ b/t/t5702-clone-options.sh
@@ -27,7 +27,8 @@ test_expect_success 'redirected clone' '
'
test_expect_success 'redirected clone -v' '
- git clone -v "file://$(pwd)/parent" clone-redirected-v >out 2>err &&
+ git clone --progress "file://$(pwd)/parent" clone-redirected-progress \
+ >out 2>err &&
test -s err
'