git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Escape character for .gitconfig
@ 2011-12-17 10:10 Erik Blake
  2011-12-17 10:58 ` Jeff King
  2011-12-21 12:54 ` Peter Krefting
  0 siblings, 2 replies; 9+ messages in thread
From: Erik Blake @ 2011-12-17 10:10 UTC (permalink / raw)
  To: git

I have an editor path that includes "(" and ")". No matter how I try to 
escape this character, I get either variations on:

C:/Program Files (x86)/Notepad++/notepad++.exe: -c: line 0: syntax error 
near unexpected token `('
C:/Program Files (x86)/Notepad++/notepad++.exe: -c: line 0: `C:/Program 
Files (x86)/Notepad++/notepad++.exe \$@\'
error: There was a problem with the editor 'C:/Program Files 
(x86)/Notepad++/notepad++.exe'.
Please supply the message using either -m or -F option.

or:

fatal: bad config file line 5 in C:\Users\xxx/.gitconfig

As you can see, I'm running git on a Win7 64 machine. Is there any way 
to escape the brackets? Or do I need to reinstall notepad++ on a 
different path?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-21 13:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-17 10:10 Escape character for .gitconfig Erik Blake
2011-12-17 10:58 ` Jeff King
2011-12-18  7:53   ` Erik Blake
2011-12-18  9:51     ` Jeff King
2011-12-19 15:59       ` Dirk Süsserott
2011-12-20  8:04         ` Erik Blake
2011-12-20 19:46           ` Dirk Süsserott
2011-12-21 12:54 ` Peter Krefting
2011-12-21 13:59   ` demerphq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).