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

Re: Escape character for .gitconfig

From
DSDirk Süsserott <newsletter@dirk.my1.cc>
Date
Dec 20, 2011, 19:46 UTC
Message-ID
<4EF0E624.1090500@dirk.my1.cc>
In-Reply-To
<4EF04199.1010008@icefield.yk.ca>
Am 20.12.2011 09:04 schrieb Erik Blake:
Show 12 quoted lines
> Hi Dirk,
>
> I ended up using "'C:/Program Files (x86)/Notepad++/notepad++.exe'
> -multiInst -notabbar -nosession -noPlugin" which works nicely for me
> (note the placement of the inner quotations).
>
> It is notepad.exe (the default Windows editor) that fails on files with
> only <lf> termination. That's why I was trying to set notepad++ as the
> git editor as it is vastly superior.
>
> Cheers,
> Erik
Hi Erik,

oops, I overread that you talked about notepad (not notepad++) and the <lf> stuff. My fault. I use the portable version of notepad++ and don't have the "space in path" problem. But if you mainly use the git-bash (as I do) instead of cmd.exe, then probably you could tweak your .bashrc:

export PATH="/C:/Program Files (x86)/Notepad++":$PATH
and then run notepad++ w/o giving the absolute path.
Cheers,
    Dirk
Previous: Erik BlakeNext: Peter Krefting
Message 7 of 9 in “Escape character for .gitconfig”
  1. Erik BlakeDec 17, 2011
  2. Jeff KingDec 17, 2011
  3. Erik BlakeDec 18, 2011
  4. Jeff KingDec 18, 2011
  5. Dirk SüsserottDec 19, 2011
  6. Erik BlakeDec 20, 2011
  7. Dirk SüsserottDec 20, 2011
  8. Peter KreftingDec 21, 2011
  9. demerphqDec 21, 2011

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.