From: Junio C Hamano Date: Wed, 04 Feb 2009 18:09:27 GMT Subject: Re: [PATCH] urls.txt: document optional port specification in git URLS Message-ID: <7vr62et6p4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1233748295-4554-1-git-send-email-stefan.naewe@atlas-elektronik.com> Stefan Naewe writes: > Signed-off-by: Stefan Naewe > --- > Documentation/urls.txt | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/urls.txt b/Documentation/urls.txt > index fa34c67..c74f00b 100644 > --- a/Documentation/urls.txt > +++ b/Documentation/urls.txt > @@ -8,8 +8,8 @@ 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/ > +- 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/ Hmph, I wonder if we want that for http:// and https://, too.