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

Re: [ANNOUNCE] GIT 1.5.0

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Feb 14, 2007, 16:45 UTC
Message-ID
<Pine.LNX.4.64.0702140839560.3604@woody.linux-foundation.org>
In-Reply-To
<17875.9043.217255.863200@lisa.zopyra.com>
On Wed, 14 Feb 2007, Bill Lear wrote:
Show 5 quoted lines
> 
> This is enabled by passing the --enable=receive-pack to the
> git-daemon (usually in the [x]?inetd configuration).
> 
> This has the benefit of:

Before you list the benefits, you should always talk about the lack of security! Let nobody enable it without realizing the dangers! Tell people to _only_ do this inside a company firewall, and even then, only if you trust everybody.

>   2) A less ugly URL to use: git://server/repo, instead of, say,
>      ssh+git://server/path/to/repos/repo.
Why do people use that silly "ssh+git://" format?

It's a cogito thing. Native git has never done it, and only supports it because cogito thought it must make sense.

The native git ssh URL is exactly the normal ssh URL:
	server:/path/to/repos/repo

and if you really want to use the "xxx://" format, you might as well just use

	ssh://server/path/to/repos/repo
which should also work fine. 
		Linus
PS. This is the commit message that  added "git+ssh://":
	Author: Linus Torvalds <torvalds@osdl.org>
	Date:   Fri Oct 14 17:14:56 2005 -0700
	
	    Support git+ssh:// and ssh+git:// URL
	
	    It seemed to be such a stupid syntax. It's both what "ssh://" means,
	    and it's what not specifying a protocol at _all_ means.
	
	    But hey, since we already have two ways of saying "use ssh with
	    pack-files", here's two more.

so it was deemed stupid from the get-go, and isn't even some "legacy" thing. It's purely a "cogito people thought it makes sense to point out that it's _both_ native git _and_ ssh protocol".

Previous: Bill LearNext: Jakub Narebski
Message 7 of 12 in “[ANNOUNCE] GIT 1.5.0”
  1. Junio C HamanoFeb 14, 2007
  2. Andy ParkinsFeb 14, 2007
  3. Junio C HamanoFeb 14, 2007
  4. Junio C HamanoFeb 14, 2007
  5. Matthieu MoyFeb 14, 2007
  6. Bill LearFeb 14, 2007
  7. Linus TorvaldsFeb 14, 2007
  8. Jakub NarebskiFeb 15, 2007
  9. Shawn O. PearceFeb 15, 2007
  10. A note from the maintainerJunio C Hamano, Feb 16, 2007
  11. Johannes SchindelinFeb 17, 2007
  12. Junio C HamanoFeb 23, 2007

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.