git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] GIT: Support [address] in URLs

From
Junio C Hamano <junkio@cox.net>
Date
Dec 21, 2005, 22:16 UTC
Message-ID
<7v64pi5c4t.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051221.192342.132228413.yoshfuji@linux-ipv6.org>
[somehow the first reply seems to have been lost]
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> writes:
> Allow address enclosed by [] in URLs, like:
>    git push '[3ffe:ffff:...:1]:GIT/git'
> or
>    git push 'ssh://[3ffe:ffff:...:1]/GIT/git'

I am not familiar with how things are done in ipv6 land, but I wonder if the former is consistent with the existing practice.

That is, how does one do something like this, with an ipv6 literal address?

	telnet 127.0.0.1 80
Is it done like this
	telnet '[::1]' 80
or
	telnet '::1' 80
Your patch suggests the former, but I just wanted to make sure.

The latter "ssh://[...]" looks like RFC 3986, and I do not have problems with.

Previous: YOSHIFUJI Hideaki / 吉藤英明Next: YOSHIFUJI Hideaki / 吉藤英明
Message 2 of 13 in “GIT: Support [address] in URLs”
  1. GIT: Support [address] in URLsYOSHIFUJI Hideaki / 吉藤英明, Dec 21, 2005
  2. Junio C HamanoDec 21, 2005
  3. YOSHIFUJI Hideaki / 吉藤英明Dec 21, 2005
  4. Junio C HamanoDec 21, 2005
  5. YOSHIFUJI Hideaki / 吉藤英明Dec 21, 2005
  6. [OT] western cultural imperialism at vger?Junio C Hamano, Dec 21, 2005
  7. David S. MillerDec 21, 2005
  8. Krzysztof HalasaDec 21, 2005
  9. David S. MillerDec 21, 2005
  10. David S. MillerDec 21, 2005
  11. YOSHIFUJI Hideaki / 吉藤英明Dec 21, 2005
  12. David S. MillerDec 22, 2005
  13. Daniel BarkalowDec 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.