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

Re: What's cooking in git.git (Jun 2016, #01; Thu, 2)

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 3, 2016, 23:47 UTC
Message-ID
<xmqqvb1pzvfu.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160603232653.GA24538@glandium.org>
Mike Hommey <mh@glandium.org> writes:
> In fact, the parser doesn't even reject the one that is considered
> invalid (the first).

My question was what the desired behaviour is, and if your "fix" gives us that desired outcome.

> (Also, the discussion back then was about
> git://[example.com:123]:/path/to/repo, not
> git://[example.com:123]/path/to/repo)
I thought these two ought to be equivalent:
	<scheme>://<host>:/<localpart>
	<scheme>://<host>/<localpart>
so the distinction shouldn't matter, no?

The former's last colon is "I wanted to write a custom port, but didn't spell it out, which is equivalent to spelling out the default port, which in turn is equivalent to not having that :<port> at all.

Previous: Mike HommeyNext: Mike Hommey
Message 6 of 13 in “What's cooking in git.git (Jun 2016, #01; Thu, 2)”
  1. Junio C HamanoJun 2, 2016
  2. Mike HommeyJun 2, 2016
  3. Torsten BögershausenJun 3, 2016
  4. Junio C HamanoJun 3, 2016
  5. Mike HommeyJun 3, 2016
  6. Junio C HamanoJun 3, 2016
  7. Mike HommeyJun 4, 2016
  8. Torsten BögershausenJun 4, 2016
  9. Mike HommeyJun 4, 2016
  10. Junio C HamanoJun 4, 2016
  11. Torsten BögershausenJun 5, 2016
  12. 1/1 connect: [host:port] is lagacy for sshtboegi@web.de, Jun 5, 2016
  13. Eric SunshineJun 5, 2016

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.