Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difftool doesn't open, and command line hangs

I have Meld configured as my difftool. I'm pretty sure it's configured correctly, because if I do git config -l, I get

merge.tool=meld
diff.tool=meld
mergetool.meld.path=C:\Program Files (x86)\Meld\Meld.exe
difftool.meld.path=C:\Program Files (x86)\Meld\Meld.exe

The setup is the same to my mergetool, and the mergetool does work correctly.

I'm trying to compare my current files to my last commit. When I do git difftool, the command line says

Viewing (1/9): 'myfile.cs'

But nothing else happens. Meld doesn't open. The command line also appears frozen, and I have to close Powershell.

How do I get the Meld to open correctly?

like image 709
Ben Rubin Avatar asked Oct 14 '25 03:10

Ben Rubin


1 Answers

I experienced similar issues recently when comparing two (binary) zip files instead of comparing the extracted contents (which are almost similar). I guess the problem occurs if files with too large differences are compared.

By stopping meld and by removing ~/.local/share/meld/recent-* , I managed to get meld running again.

like image 141
Manfred Scheucher Avatar answered Oct 17 '25 01:10

Manfred Scheucher



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!