We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ce2dbc + 397a46d commit ddc59e9Copy full SHA for ddc59e9
t/t5580-clone-push-unc.sh
@@ -62,4 +62,16 @@ test_expect_success MINGW 'remote nick cannot contain backslashes' '
62
test_i18ngrep ! "unable to access" err
63
'
64
65
+test_expect_success 'unc alternates' '
66
+ tree="$(git rev-parse HEAD:)" &&
67
+ mkdir test-unc-alternate &&
68
+ (
69
+ cd test-unc-alternate &&
70
+ git init &&
71
+ test_must_fail git show $tree &&
72
+ echo "$UNCPATH/.git/objects" >.git/objects/info/alternates &&
73
+ git show $tree
74
+ )
75
+'
76
+
77
test_done
0 commit comments