Subject: Re: [GSoC] [PATCH v4 4/8] dir: libify and export helper functions from clone.c

From: Junio C Hamano <[email-masked]>
Date: Tue, 10 Aug 2021 14:27:04 -0700

Kaartic Sivaraam <[email-masked]> writes:

> I wonder what real-world URL has a syntax like 'host.xz:foo/.git' for which
> 'foo' would be an appropriate basename to return. Does a real-world URL of
> this form exist? Or is this just cooked up to demonstrate the basename that
> would be returned for a hypothetical URL like this?

It is not really a URL, but historically we've called them
"scp-style URL".  scp of course copied the syntax from "rcp" where
<hostname> and <pathname> are separated by a colon ':' named a file
or a directory at the named path on the named host.