Git gvim diff can't show the difference

I would like to use gVim (7.3) for git diff. I am using cygwin and this is my .gitconfig file.

[diff]
    tool = my_gvimdiff
[difftool "my_gvimdiff"]
    cmd = gvim -d "$(cygpath -w $LOCAL)" "$REMOTE"
[alias]
    dt = difftool

My problem is that gVim is inovked with the correct files in diffmode, but I don't see the scattered differences. gVim gives me E97 and says it cannot make a difference at startup. The bottom line is that if I start editing a local file, for example. I add a new line, then I see only this difference (colorized) in the recorded file. What happened to my configuration? Can someone give me a hint ...

+3
source share
1 answer

I assume you are on the windows. I also suggest that you may have Cygwin / MSYSGIT blends.

, Vim

  • GIT Bash
  • from cygwin Bash
  • cmd.exe
  • TortoiseGit, Visual Studio

Vim, , diff ( - Windows/DOS , ).

+2

All Articles