|
167 | 167 | check_prot_host_port_path $h:/~$r $p "$h" NONE "~$r"
|
168 | 168 | '
|
169 | 169 | done
|
170 |
| ---- a/git-v2.38.2/t/t5580-unc-paths.sh 2022-12-11 00:32:48.000000000 +0000 |
171 |
| -+++ b/git-v2.38.2/t/t5580-unc-paths.sh 2022-12-11 15:00:52.844936300 +0000 |
172 |
| -@@ -61,7 +61,8 @@ test_expect_success fetch ' |
| 170 | +--- a/git-v2.42.0/t/t5580-unc-paths.sh |
| 171 | ++++ b/git-v2.42.0/t/t5580-unc-paths.sh |
| 172 | +@@ -40,28 +40,33 @@ test_expect_success setup ' |
| 173 | + test_commit initial |
| 174 | + ' |
| 175 | + |
| 176 | +-test_expect_success clone ' |
| 177 | ++# https://github.com/cygporter/git/issues/59 |
| 178 | ++test_expect_failure clone ' |
| 179 | + git clone "file://$UNCPATH" clone |
| 180 | + ' |
| 181 | + |
| 182 | +-test_expect_success 'clone without file://' ' |
| 183 | ++# https://github.com/cygporter/git/issues/59 |
| 184 | ++test_expect_failure 'clone without file://' ' |
| 185 | + git clone "$UNCPATH" clone-without-file |
| 186 | + ' |
| 187 | + |
| 188 | +-test_expect_success 'clone with backslashed path' ' |
| 189 | ++# https://github.com/cygporter/git/issues/59 |
| 190 | ++test_expect_failure 'clone with backslashed path' ' |
| 191 | + BACKSLASHED="$(echo "$UNCPATH" | tr / \\\\)" && |
| 192 | + git clone "$BACKSLASHED" backslashed |
| 193 | + ' |
| 194 | + |
| 195 | +-test_expect_success fetch ' |
| 196 | ++# https://github.com/cygporter/git/issues/59 |
| 197 | ++test_expect_failure fetch ' |
| 198 | + git init to-fetch && |
| 199 | + ( |
| 200 | + cd to-fetch && |
| 201 | + git fetch "$UNCPATH" main |
173 | 202 | )
|
174 | 203 | '
|
175 | 204 |
|
176 | 205 | -test_expect_success push '
|
177 |
| -+# https://github.com/me-and/Cygwin-Git/issues/43 |
| 206 | ++# https://github.com/cygporter/git/issues/43 |
178 | 207 | +test_expect_failure push '
|
179 | 208 | (
|
180 | 209 | cd clone &&
|
181 | 210 | git checkout -b to-push &&
|
| 211 | +@@ -78,7 +83,8 @@ test_expect_success MINGW 'remote nick cannot contain backslashes' ' |
| 212 | + test_i18ngrep ! "unable to access" err |
| 213 | + ' |
| 214 | + |
| 215 | +-test_expect_success 'unc alternates' ' |
| 216 | ++# https://github.com/cygporter/git/issues/59 |
| 217 | ++test_expect_failure 'unc alternates' ' |
| 218 | + tree="$(git rev-parse HEAD:)" && |
| 219 | + mkdir test-unc-alternate && |
| 220 | + ( |
182 | 221 | --- a/git-v2.38.2/t/t5601-clone.sh 2022-12-11 00:32:48.000000000 +0000
|
183 | 222 | +++ b/git-v2.38.2/t/t5601-clone.sh 2022-12-11 15:05:25.695555200 +0000
|
184 | 223 | @@ -532,7 +532,8 @@ done
|
|
0 commit comments