I am working under Windows 7, using the github client and sometimes the git bash shell.
I used to configure my git diff tool with Winmerge using the following information: How do I view 'git diff' output with a visual diff program?
For an unknown reason, I cannot use the git diff command anymore:
$ git diff
error: cannot spawn winmerge.sh: No such file or directory
external diff died, stopping at path/to/a/file
winmerge.sh is located in a folder accessible from the path from the regular cmd shell, but not from the git bash shell.
I also tried to reset the git diff config by removing every line relative to diff and difftool (both in the ~/.gitconfig file and with the git config --global --unset
command), but the error message above keep displaying when calling git diff
.
Any help would be warmly appreciated!