Re: [PATCH] urls.txt: document optional port specification in git URLS
Stefan Naewe <stefan.naewe@atlas-elektronik.com> writes:
Show 20 quoted lines
> Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
> ---
> 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.