From: Eric Stegemoller <estegemoller@idmcomp.com>
To: David Aguilar <davvid@gmail.com>
Cc: Bert Wesarg <bert.wesarg@googlemail.com>, git@vger.kernel.org
Subject: Re: External Diff Tool
Date: Tue, 04 Aug 2009 10:12:15 -0400 [thread overview]
Message-ID: <4A7841BF.5060308@idmcomp.com> (raw)
In-Reply-To: <20090801111227.GA26029@gmail.com>
David Aguilar wrote:
> On Thu, Jul 30, 2009 at 03:22:25PM -0400, Eric Stegemoller wrote:
>
>> Bert Wesarg wrote:
>>
>>> On Wed, Jul 29, 2009 at 22:16, Eric Stegemoller<estegemoller@idmcomp.com> wrote:
>>>
>>>
>>>> Hello,
>>>>
>>>> git config --global diff.tool TestTool
>>>> git config --global difftool.TestTool.cmd ""c:/TestTool/test.exe" "$LOCAL"
>>>>
>>> Try with quoting the " inside the config value:
>>>
>>> git config --global difftool.TestTool.cmd "\"c:/TestTool/test.exe\"
>>> \"$LOCAL\" \"$REMOTE\""
>>> Bert
>>>
>>>
>> Thanks, but this did not solve it. Interestingly, I have captured the
>> command line that is sent out by GIT and it is calling the correct
>> program but not adding anything to the command line. So, nothing is
>> there. Seeing this I have been experimenting around with the parameters
>> and I still it is calling the correct program but sending a blank
>> command line. Any suggestions on how to pursue this?
>>
>> Eric
>>
>
>
> I think shell is to blame here.
>
> Try editing ~/.gitconfig by hand.
>
> I think the suggestion above forgot to escape the $ character.
>
> Since the $'s weren't escaped, the shell interpolated the
> $LOCAL, etc. variables and replaced them with the empty
> string.
>
>
>
Escaping the $'s did the trick! Thanks for everyones help.
Thanks,
Eric
next prev parent reply other threads:[~2009-08-04 14:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 20:16 External Diff Tool Eric Stegemoller
2009-07-29 20:45 ` Bert Wesarg
2009-07-30 19:22 ` Eric Stegemoller
2009-07-31 10:18 ` Johannes Schindelin
2009-08-01 11:12 ` David Aguilar
2009-08-04 14:12 ` Eric Stegemoller [this message]
2009-08-04 17:02 ` Diffing M$-Word Dr. Lars Hanke
2009-08-04 17:10 ` Matthieu Moy
2009-08-04 17:10 ` John Tapsell
2009-08-04 19:31 ` Johannes Sixt
2009-08-05 19:35 ` Dr. Lars Hanke
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=4A7841BF.5060308@idmcomp.com \
--to=estegemoller@idmcomp.com \
--cc=bert.wesarg@googlemail.com \
--cc=davvid@gmail.com \
--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).