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

Re: git://github.com/some/thing.git/?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 27, 2012, 18:25 UTC
Message-ID
<7vd37xj3zh.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120327163339.GA5941@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Tue, Mar 27, 2012 at 08:46:42AM -0700, Junio C Hamano wrote:
>
>> I just noticed that
>> 
>> 	git ls-remote git://repo.or.cz/alt-git.git/
>> 
>> works, but neither of the following does:
>> 
>> 	git ls-remote git://git://github.com/gitster/git.git/
>> 	git ls-remote git://git://github.com/gitster/git/
>> 
>> It is just a minor irritation but it would be really nice if you can fix
>> it (please don't spend too much time on it if it is too involved, though).
>
> Of course they don't work, they are malformed. :)
Ahh, drop the duplicated "git://" from the front.
> It took me a minute to figure it out, but I assume the interesting part
> is the trailing slash?
Yes.
> Even with that, though, I think it would be good for the server to be
> liberal in what it accepts.

It is not about being liberal; it is about accepting what we have always accepted.

Previous: Jeff KingNext: Jeff King
Message 3 of 8 in “git://github.com/some/thing.git/?”
  1. Junio C HamanoMar 27, 2012
  2. Jeff KingMar 27, 2012
  3. Junio C HamanoMar 27, 2012
  4. Jeff KingMar 27, 2012
  5. Jonathan NiederMar 27, 2012
  6. Jeff KingMar 28, 2012
  7. Junio C HamanoMar 27, 2012
  8. KevinMar 27, 2012

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.