Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions t/t5580-clone-push-unc.sh → t/t5580-unc-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,23 @@ test_expect_success clone '
git clone "file://$UNCPATH" clone
'

test_expect_success 'clone without file://' '
git clone "$UNCPATH" clone-without-file
'

test_expect_success 'clone with backslashed path' '
BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" &&
git clone "$BACKSLASHED" backslashed
'

test_expect_success fetch '
git init to-fetch &&
(
cd to-fetch &&
git fetch "$UNCPATH" master
)
'

test_expect_success push '
(
cd clone &&
Expand Down