Turns out there is an easy way to do this, so I'm sharing it here for others to use (maybe it could be added to the https://www.prestosoft.com/edp_versioncontrol.asp page?)
All you need to do is edit your "~/.gitconfig" file to include the following:
Code: Select all
[diff]
tool = edp
guitool = edp
[difftool "edp"]
cmd = /mnt/c/Program\\ Files/ExamDiff\\ Pro/ExamDiff.exe \"$(wslpath -aw $REMOTE)\" \"$(wslpath -aw $LOCAL)\" /nh
[difftool]
prompt = false
Note - when using the git option "--dir-diff" you need to also use "--no-symlinks".
Code: Select all
git difftool --dir-diff --no-symlinks
https://stackoverflow.com/questions/638 ... ol-on-wsl2
You're welcome!
Dave C