From: Junio C Hamano Date: Wed, 04 Feb 2009 20:53:34 GMT Subject: Re: [PATCH v2] urls.txt: document optional port specification in git URLS Message-ID: <7vvdrpore9.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1233780575-20125-1-git-send-email-stefan.naewe+git@gmail.com> Stefan Naewe writes: > Signed-off-by: Stefan Naewe > --- > Documentation/urls.txt | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/urls.txt b/Documentation/urls.txt > index fa34c67..5355ebc 100644 > --- a/Documentation/urls.txt > +++ b/Documentation/urls.txt > @@ -6,10 +6,10 @@ to name the remote repository: > > =============================================================== > - rsync://host.xz/path/to/repo.git/ > -- http://host.xz/path/to/repo.git/ > -- https://host.xz/path/to/repo.git/ > -- git://host.xz/path/to/repo.git/ > -- git://host.xz/~user/path/to/repo.git/ > +- http://host.xz{startsb}:port{endsb}/path/to/repo.git/ > +- https://host.xz{startsb}:port{endsb}/path/to/repo.git/ > +- git://host.xz{startsb}:port{endsb}/path/to/repo.git/ > +- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/ > - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/ > - ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/ > - ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/ Do you know if these port specifications do actually work? Just double checking.