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

Re: Clarification on the git+ssh and ssh+git schemes

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Feb 5, 2016, 19:36 UTC
Message-ID
<CA+55aFyWqK0bu2V1SYagrYCBGpj0=2orobK2vT-KRkqpq=kgtw@mail.gmail.com>
In-Reply-To
<20160205193027.GC7245@sigill.intra.peff.net>
On Fri, Feb 5, 2016 at 11:30 AM, Jeff King <peff@peff.net> wrote:
>
> I suspect they were not really documented because nobody wanted to
> encourage their use. I don't think it would be wrong to document that
> they exist and are deprecated, though.

They exist because some people seemed to think that people shouldn't use "ssh://" since they thought that only ssh should use that.

Which is obviously bullshit, since by that logic all the other formats should have that idiotic "git+" format too ("git+https", anybody?). It doesn't actually help anything, and it only pushes somebodys broken agenda.

So there was a push for that silly thing by a couple of people, but it was always wrong. Don't even document it.

Leave it in the source code as an option, and maybe add a comment about "This is stupid, but we support it for hysterical raisins".

Don't add it to any real documentation. Not even as deprecated. That just validates it further.

                   Linus
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 5 in “Clarification on the git+ssh and ssh+git schemes”
  1. Carlos Martín NietoFeb 5, 2016
  2. Jeff KingFeb 5, 2016
  3. Linus TorvaldsFeb 5, 2016
  4. Junio C HamanoFeb 5, 2016
  5. Carlos Martín NietoFeb 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.