Re: git-difftool
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Jan 2, 2009, 01:59 UTC
- Message-ID
- <46dff0320901011759ke7026d9hafe4fdde099e370b@mail.gmail.com>
- In-Reply-To
- <200901020104.01522.markus.heidelberg@web.de>
On Fri, Jan 2, 2009 at 8:04 AM, Markus Heidelberg <markus.heidelberg@web.de> wrote:
Show 29 quoted lines
> Ping Yin, 01.01.2009: >> On Thu, Jan 1, 2009 at 12:04 AM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote: >> > David Aguilar <davvid@gmail.com> writes: >> > >> >> The usual use case for this script is when you have either >> >> staged or unstaged changes and you'd like to see the changes >> >> in a side-by-side diff viewer (e.g. xxdiff, tkdiff, etc). >> >> >> >> git difftool [<filename>*] >> > >> > Is it not a complex way of saying >> > >> > GIT_EXTERNAL_DIFF=xxdiff git diff >> >> $ cat mydiff >> #!/bin/bash >> exec vimdiff $2 $5 >> >> then i run >> >> $ GIT_EXTERNAL_DIFF=mydiff git diff >> >> but it gives me the error >> Vim: Warning: Output is not to a terminal > > Just the warning and everything else works? For me the display is > totally screwed up and the commands don't really work because of the > pager. I have to add GIT_PAGER="" to get it working. >
Thanks. With GIT_PAGER="" it works now.