Re: [PATCH] Documentation/urls: Add <transport>::<address> syntax
On Mon, Mar 29, 2010 at 08:40:07PM +0530, Ramkumar Ramachandra wrote:
Show 19 quoted lines
> Add <transport>::<address> syntax for explicitly invoking a remote
> helper.
> ---
> Documentation/urls.txt | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/urls.txt b/Documentation/urls.txt
> index 459a394..041cbfe 100644
> --- a/Documentation/urls.txt
> +++ b/Documentation/urls.txt
> @@ -30,6 +30,11 @@ To sync with a local directory, you can use:
> - /path/to/repo.git/
> - file:///path/to/repo.git/
>
> +To explicity request a remote helper for a certain transport protocol,
> +you can use:
> +
> +- <transport>::path/to/repo.git
> +
Except that what follows <transport>:: part depends on remote helper. For some helpers it may be a path. And for such helpers, it probably won't be git repository (so no .git ending). For other helpers, it might be server and path. Or something even more exotic.
-Ilari