문제

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!

도움이 되었습니까?

해결책

In fact I had a reference to winmerge.sh in the PATH. Sorry for the bad question!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top