t7610: use "file:///dev/null", not "/dev/null", fixes MinGW
commit23fb328c8de7d4ad07360629109cf1b5fa42daa6
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 15 Nov 2022 23:40:14 +0000 (16 00:40 +0100)
committerTaylor Blau <me@ttaylorr.com>
Wed, 16 Nov 2022 01:05:02 +0000 (15 20:05 -0500)
treec573a238bb252df28c3b27abeb5aad05c83e95be
parent8354cf752ecbda5d369d6f83a818001eb66d1808
t7610: use "file:///dev/null", not "/dev/null", fixes MinGW

On MinGW the "/dev/null" is translated to "nul" on command-lines, even
though as in this case it'll never end up referring to an actual file.

So on Windows the fix for the previous "example.com" timeout issue in
8354cf752ec (t7610: fix flaky timeout issue, don't clone from
example.com, 2022-11-05) would yield:

  fatal: repo URL: 'nul' must be absolute or begin with ./|../

Let's evade this yet again by prefixing this with "file://", which
makes this pass in the Windows CI.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t7610-mergetool.sh