From: Alp Toker Date: Thu, 13 Jul 2006 05:48:58 GMT Subject: Re: [PATCH] Documentation: Fix ssh:// URLs in generated documentation Message-ID: <44B5DECA.8040401@atoker.com> In-Reply-To: <7vpsgaw16d.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > I wonder if this is with less formatting impact then. > > diff --git a/Documentation/urls.txt b/Documentation/urls.txt > index 9abec80..93378d2 100644 > --- a/Documentation/urls.txt > +++ b/Documentation/urls.txt > @@ -10,9 +10,9 @@ to name the remote repository: > - https://host.xz/path/to/repo.git/ > - git://host.xz/path/to/repo.git/ > - git://host.xz/~user/path/to/repo.git/ > -- ssh://[user@]host.xz/path/to/repo.git/ > -- ssh://[user@]host.xz/~user/path/to/repo.git/ > -- ssh://[user@]host.xz/~/path/to/repo.git > +- ssh://+++[user@+++]host.xz/path/to/repo.git/ > +- ssh://+++[user@+++]host.xz/~user/path/to/repo.git/ > +- ssh://+++[user@+++]host.xz/~/path/to/repo.git > =============================================================== > > SSH Is the default transport protocol and also supports an Your call. I almost went that way but decided the more invasive patch left the source a bit more readable as it didn't need escaping. As long as the output gets fixed, nobody will be losing sleep over this one.