Petruza
Petruza

Reputation: 12256

opendiff ( FileMerge ) stopped working with git on Mac OS X

I was using opendiff with git as the difftool on Mac OS X and today it just stopped working.
It does not give an error message, it just defaults to dumping the diff on the terminal.

I've followed the common guides on how to configure this, but to no avail:

But it doesn't work.
Actually, FileMerge was automatically recognized and launched before without even using this script and configuration, just doing git difftool -t opendiff {filename} would do.

Upvotes: 4

Views: 991

Answers (1)

anazimok
anazimok

Reputation: 1759

Try setting environment variable

export GIT_EXTERNAL_DIFF=<path to your script>

Upvotes: 1

Related Questions