Re: [GSoC] [PATCH v4 4/8] dir: libify and export helper functions from clone.c
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 10, 2021, 21:27 UTC
- Message-ID
- <xmqqpmulc7o7.fsf@gitster.g>
- In-Reply-To
- <68bb457b-9575-c2a1-6d51-fc7cd85a50b7@gmail.com>
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> 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.