FileMerge quits immediately after launching from SourceTree

前端 未结 5 1571
清酒与你
清酒与你 2021-01-31 07:57

I regularly use Atlassian SourceTree (on Mac OS X) to launch FileMerge to resolve git merge conflicts. Out of the blue it has stopped working: when I right click and select

5条回答
  •  粉色の甜心
    2021-01-31 08:30

    For me, SourceTree didn't even launch FileMerge. When clicking Launch External Merge Tool nothing happened.

    Moreover, running opendiff in Terminal worked as expected:

    $ opendiff
    opendiff[64176:5561154] too few arguments
    opendiff[64176:5561154] usage: opendiff file1 file2 [-ancestor ancestorFile] [-merge mergeFile]
    

    What helped me was manually configuring SourceTree to use FileMerge via the opendiff command with the following arguments: $LOCAL $REMOTE -ancestor $BASE -merge $MERGED

    This way, SourceTree opens FileMerge as expected.

提交回复
热议问题