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

Re: using gvim as editor on Windows

From
TTait <git.git@t41t.com>
Date
Mar 11, 2010, 09:04 UTC
Message-ID
<20100311090424.GV2480@ece.pdx.edu>
In-Reply-To
<7vzl2hw972.fsf@alter.siamese.dyndns.org>
> This says "if 'editor' is not exactly the string ':'", ...

Oh right; I ... yeah, something. (I've got no excuse for mis-thinking that one.)

> If you end up with a file whose name literally is '$@', that probably
> means your "sh" did not expand it correctly.

It does expand the $@ when I add it explicitly to core.editor though. Maybe it's the ""s. I'll have to figure out how to compile git for Windows to try a patch.

Oddly enough, if I remove the : from the file path, it does work as expected. Adding the : back introduces the faulty behavior described earlier.

Tait
Previous: Junio C HamanoNext: Johannes Sixt
Message 9 of 10 in “using gvim as editor on Windows”
  1. TaitMar 6, 2010
  2. Jacob HelwigMar 6, 2010
  3. TaitMar 6, 2010
  4. Markus HeidelbergMar 6, 2010
  5. TaitMar 8, 2010
  6. Markus HeidelbergMar 8, 2010
  7. TaitMar 9, 2010
  8. Junio C HamanoMar 9, 2010
  9. TaitMar 11, 2010
  10. Johannes SixtMar 11, 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.