Skip to content

Commit fc25a19

Browse files
committed
Merge branch 'js/test-unc-fetch'
Test updates. * js/test-unc-fetch: t5580: test cloning without file://, test fetching via UNC paths
2 parents 6365058 + bfe2bbb commit fc25a19

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

t/t5580-clone-push-unc.sh renamed to t/t5580-unc-paths.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,23 @@ test_expect_success clone '
4040
git clone "file://$UNCPATH" clone
4141
'
4242

43+
test_expect_success 'clone without file://' '
44+
git clone "$UNCPATH" clone-without-file
45+
'
46+
4347
test_expect_success 'clone with backslashed path' '
4448
BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" &&
4549
git clone "$BACKSLASHED" backslashed
4650
'
4751

52+
test_expect_success fetch '
53+
git init to-fetch &&
54+
(
55+
cd to-fetch &&
56+
git fetch "$UNCPATH" master
57+
)
58+
'
59+
4860
test_expect_success push '
4961
(
5062
cd clone &&

0 commit comments

Comments
 (0)