checkout_entry(): clarify the use of topath[] parameter
[git/git-svn.git] / t / t5702-clone-options.sh
blob85cadfad6d8aeee79e0f05530376ca7dc6f085f0
1 #!/bin/sh
3 test_description='basic clone options'
4 . ./test-lib.sh
6 test_expect_success 'setup' '
8 mkdir parent &&
9 (cd parent && git init &&
10 echo one >file && git add file &&
11 git commit -m one)
15 test_expect_success 'clone -o' '
17 git clone -o foo parent clone-o &&
18 (cd clone-o && git rev-parse --verify refs/remotes/foo/master)
22 test_expect_success 'redirected clone' '
24 git clone "file://$(pwd)/parent" clone-redirected >out 2>err &&
25 test_must_be_empty err
28 test_expect_success 'redirected clone -v' '
30 git clone --progress "file://$(pwd)/parent" clone-redirected-progress \
31 >out 2>err &&
32 test -s err
36 test_done