threads / patch / 23236

patchDocumentation/urls: Add <transport>::<address> syntax

Subject: [PATCH] Documentation/urls: Add <transport>::<address> syntax

## tl;dr

2 messages between Mar 29, 2010 and Mar 29, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Ramkumar Ramachandra· Mar 29, 2010, 15:10 UTC · lore
Add <transport>::<address> syntax for explicitly invoking a remote
helper.
---
 Documentation/urls.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Show changes to Documentation/urls.txt +5 −0
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
+
 ifndef::git-clone[]
 They are mostly equivalent, except when cloning.  See
 linkgit:git-clone[1] for details.
-- 
1.7.0.3
Ilari Liusvaara· Mar 29, 2010, 16:01 UTC · re: Ramkumar Ramachandra · lore

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

← back to recent threads