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

Re: Revision resolution for remote-helpers?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 18, 2017, 22:33 UTC
Message-ID
<20170818223323.GO13924@aiede.mtv.corp.google.com>
In-Reply-To
<20170818221754.3rbh35aewj5xnu4z@glandium.org>
Mike Hommey wrote[1]:
> On Fri, Aug 18, 2017 at 03:06:37PM -0700, Jonathan Nieder wrote:
>> Mike Hommey wrote:
>>> The reason for the <helper>:: prefix is that it matches the <helper>::
>>> prefix used for remote helpers.
>>>
>>> Now, there are a few caveats:
[...]
Show 17 quoted lines
>>> - msys likes to completely fuck up command lines when they contain ::.
>>>   For remote helpers, the alternative that works is
>>>   <helper>://<host>/etc.
>>
>> Hm --- is there a bug already open about this (e.g. in the Git for
>> Windows project or in msys) where I can read more?
>
> It's entirely an msys problem. Msys has weird rules to translate between
> unix paths and windows paths on the command line, and botches everything
> as a consequence. That's by "design".
>
> http://www.mingw.org/wiki/Posix_path_conversion
>
> (Particularly, see the last two entries)
>
> That only happens when calling native Windows programs from a msys
> shell.
Cc-ing the Git for Windows mailing list as an FYI.

I have faint memories that some developers on that project have had to delve deep into Msys path modification rules. It's possible they can give us advice (e.g. about <helper>::<url> having been a bad choice of syntax in the first place :)).

Thanks, Jonathan

[1] https://public-inbox.org/git/20170818221754.3rbh35aewj5xnu4z@glandium.org/
Previous: Mike HommeyNext: Johannes Schindelin
Message 6 of 11 in “Revision resolution for remote-helpers?”
  1. Mike HommeyAug 18, 2017
  2. Jeff KingAug 18, 2017
  3. Mike HommeyAug 18, 2017
  4. Jonathan NiederAug 18, 2017
  5. Mike HommeyAug 18, 2017
  6. Jonathan NiederAug 18, 2017
  7. Johannes SchindelinAug 22, 2017
  8. Mike HommeyAug 24, 2017
  9. Johannes SchindelinAug 25, 2017
  10. Mike HommeyAug 25, 2017
  11. Mike HommeySep 21, 2017

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.