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

Re: [PATCH] Allow '+', '-' and '.' in remote helper names

From
Gabriel Filion <lelutin@gmail.com>
Date
Feb 23, 2010, 17:12 UTC
Message-ID
<4B840C73.8020204@gmail.com>
In-Reply-To
<4B83DCB1.5050905@gnu.org>
Paolo Bonzini wrote:
Show 13 quoted lines
> On 02/23/2010 01:33 PM, Ilari Liusvaara wrote:
>> According to relevant RFCs, in addition to alphanumerics, the following
>> characters are valid in URL scheme parts: '+', '-' and '.', but
>> currently only alphanumerics are allowed in remote helper names.
>>
>> Allow those three characters in remote helper names (both 'foo://' and
>> 'foo::' syntax).
> 
> I think '+' could be special-cased in that, for example, "svn+ssh://"
> should still invoke an hypothetic git-remote-svn helper.  There is no
> use yet for this feature, but I'm sure that foreign VCS helpers would
> use it.
> 

Special-casing the + could be useful to simplify support for "svn::ssh://"-style addresses as both could receive the same URL ("ssh://..").

It would also mean less clutter in the script directory. Instead of having two scripts, one to catch "helper://.." remote URLs and another to catch "helper+ssh://.." URLs, the same script would differentiate between used protocols.

-- 
Gabriel Filion
Previous: Paolo Bonzini
Message 9 of 9 in “Allow '+', '-' and '.' in remote helper names”
  1. Allow '+', '-' and '.' in remote helper namesIlari Liusvaara, Feb 23, 2010
  2. Johannes SchindelinFeb 23, 2010
  3. Sverre RabbelierFeb 23, 2010
  4. Johannes SchindelinFeb 23, 2010
  5. Johannes SixtFeb 23, 2010
  6. Erik Faye-LundFeb 23, 2010
  7. Johannes SchindelinFeb 23, 2010
  8. Paolo BonziniFeb 23, 2010
  9. Gabriel FilionFeb 23, 2010

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.