]> git.ipfire.org Git - thirdparty/git.git/commit
t5580: test cloning without file://, test fetching via UNC paths
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 13 Feb 2020 21:51:44 +0000 (21:51 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 17:59:41 +0000 (09:59 -0800)
commitbfe2bbb47f1213e9d4ef6b8d1679b58b37485625
tree4d4be6e4e3dda7bc387008afcc6029801ee81514
parentb6d4d82bd5a49197d5d2f4f81c08da0d461cfcf1
t5580: test cloning without file://, test fetching via UNC paths

On Windows, it is quite common to work with network drives. The format
of the paths to network drives (or "network shares", or UNC paths) is:

\\<server>\<share>\...

We already have a couple regression tests revolving around those types
of paths, but we missed cloning and fetching from UNC paths without
leading `file://` (and with backslashes instead of forward slashes).
This lil' patch closes that gap.

It gets a bit silly to add the commands to the name of the test script,
so let's just rename it while we're testing more UNC stuff.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5580-unc-paths.sh [moved from t/t5580-clone-push-unc.sh with 89% similarity]