From: Junio C Hamano Date: Fri, 03 Jun 2016 23:47:33 GMT Subject: Re: What's cooking in git.git (Jun 2016, #01; Thu, 2) Message-ID: In-Reply-To: <20160603232653.GA24538@glandium.org> Mike Hommey 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: ://:/ :/// 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 : at all.