1#!/bin/sh
23
test_description='basic clone options'
4. ./test-lib.sh
56
test_expect_success 'setup' '
78
mkdir parent &&
9(cd parent && git init &&
10echo one >file && git add file &&
11git commit -m one)
1213
'
1415
test_expect_success 'clone -o' '
1617
git clone -o foo parent clone-o &&
18(cd clone-o && git rev-parse --verify refs/remotes/foo/master)
1920
'
2122
test_done