I'm currently setting up the Meld difftool to work in Babun using the following commands:
git config --global diff.tool meld
git config --global difftool.prompt false
git config --global difftool.meld.path "/cygdrive/c/Program\ Files\ \(x86\)/Meld/Meld.exe"
git config --global difftool.meld.cmd '/cygdrive/c/Program\ Files\ \(x86\)/Meld/Meld.exe $LOCAL $REMOTE'
This works, and Meld opens with the two files when I run
git difftool HEAD HEAD^
However, the second file (from the remote) doesn't open, and I get
There was a problem opening the file "\tmp\xxx_FILENAME.EXTENSION"
However, when I run the difftool from git bash it works. Is there something wrong in my setup?
git config --global difftool.meld.cmd '/mnt/c/Program\ Files\ \(x86\)/Meld/Meld.exe "$LOCAL" C:\\Users\\james.collerton\\AppData\\Local\\lxss\\rootfs\\"$REMOTE"'
works. – Regenerator