From: Ping Yin Date: Sat, 17 Jan 2009 14:17:29 GMT Subject: Re: git-difftool Message-ID: <46dff0320901170617w620015cy2d155dc839dbdaf5@mail.gmail.com> In-Reply-To: <1232164040173-2171934.post@n2.nabble.com> On Sat, Jan 17, 2009 at 11:47 AM, enso wrote: > > > > Ping Yin wrote: >> >> Thanks. With GIT_PAGER="" it works now. >> > > Personally, I didn't like having to screw around with environment variables > directly to get vimdiff to work. So I did the following: > > 1) Made a simple diff script gitvimdiff.sh: > > #!/bin/env sh > vimdiff "$2" "$5" > > 2) git config --global diff.external ~/path/to/gitvimdiff.sh > 3) git config --global pager.diff "" > I am not aware of these configurations, thanks. What i current do is to use an alias to use vimdiff for diff