git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Aguilar <davvid@gmail.com>
To: Eric Stegemoller <estegemoller@idmcomp.com>
Cc: Bert Wesarg <bert.wesarg@googlemail.com>, git@vger.kernel.org
Subject: Re: External Diff Tool
Date: Sat, 1 Aug 2009 04:12:28 -0700	[thread overview]
Message-ID: <20090801111227.GA26029@gmail.com> (raw)
In-Reply-To: <4A71F2F1.4060605@idmcomp.com>

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.


-- 

	David

  parent reply	other threads:[~2009-08-01 11:12 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 [this message]
2009-08-04 14:12       ` Eric Stegemoller
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=20090801111227.GA26029@gmail.com \
    --to=davvid@gmail.com \
    --cc=bert.wesarg@googlemail.com \
    --cc=estegemoller@idmcomp.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).