git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Blake <erik@icefield.yk.ca>
To: git@vger.kernel.org
Subject: Escape character for .gitconfig
Date: Sat, 17 Dec 2011 11:10:37 +0100	[thread overview]
Message-ID: <4EEC6A9D.1060005@icefield.yk.ca> (raw)

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?

             reply	other threads:[~2011-12-17 10:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-17 10:10 Erik Blake [this message]
2011-12-17 10:58 ` Escape character for .gitconfig 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EEC6A9D.1060005@icefield.yk.ca \
    --to=erik@icefield.yk.ca \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).