Sunday, 29 September 2019

Setting meld as git mergetool with Python3

I've tried setting meld as my mergetool to use with git doing:

git config --global merge.tool meld
git config --global mergetool.meld.path c:/Progra~2/meld/bin/meld

As outlined in answers to questions like:

How to set Meld as git mergetool

I used to have this working on my old work machine but now on my new machine where I have Python3 installed instead of 2.7 I am getting the following error whenever I try git mergetool:

C:/Program Files/Git/mingw64/libexec/git-core/mergetools/meld: c:/Progra~2/Meld/bin/meld: C:/msys64/MINGW32/bin/python3.exe: bad interpreter: No such file or directory

Any ideas what extra steps I need to make to get this to work with Python3?

EDIT: I have tried pointing directly to Meld.exe too but that causes the following crash:

enter image description here



from Setting meld as git mergetool with Python3

No comments:

Post a Comment