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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 23, 2010, 13:51 UTC
Message-ID
<alpine.DEB.1.00.1002231450010.3980@intel-tinevez-2-302>
In-Reply-To
<fabb9a1e1002230507i56b32e8cwd7643a79284f6567@mail.gmail.com>
Hi,
On Tue, 23 Feb 2010, Sverre Rabbelier wrote:
Show 7 quoted lines
> On Tue, Feb 23, 2010 at 14:03, Johannes Schindelin 
> <Johannes.Schindelin@gmx.de> wrote:
> > May I caution against allowing "+" as part of filenames? On Windows, 
> > thanks to the DOS garb^Wheritage, "+" is not really allowed...
> 
> Would it be safe to say "raplce all occurences of '+' and '.' with
> '-'?

I'd rather only replace '+' with '-'. While "short" DOS filenames can only have one dot, and only up to three (upper-case) characters after that, "long" ones do not share that restriction.

Show 5 quoted lines
> Is it feasible that we would want to support two protocols with a 
> different helper that map to the same 'name' using that scheme? So, 
> would there ever be a case where we want to handle "bzr+ssh" and 
> "bzr-ssh" with a different helper? I reckon not, and if it does occur 
> it's always possible to put a simple dispatcher in between?
Possible.

Ciao, Dscho

Previous: Sverre RabbelierNext: Johannes Sixt
Message 4 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.