Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sourcetree / xcode] Merge tool (filemerge) opens then quits straight away #19

Open
0xdevalias opened this issue Nov 19, 2020 · 0 comments

Comments

@0xdevalias
Copy link
Owner

0xdevalias commented Nov 19, 2020

Semi-related: #10

Running opendiff on the commandline (SourceTree's helper tool) reveals the following:

⇒  opendiff
xcode-select: error: tool 'opendiff' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

I found the fix here:

Which apparently originally came from:

You can do a quick sanity check with opendiff again:

⇒  opendiff
2020-11-19 11:44:47.285 opendiff[90705:38075941] too few arguments
2020-11-19 11:44:47.290 opendiff[90705:38075941] usage: opendiff file1 file2 [-ancestor ancestorFile] [-merge mergeFile]

In this case, you're good to go!

It would be good to add this to the dotfiles so it's handled automagically on new system setup

@0xdevalias 0xdevalias changed the title [sourcetree] Merge tool (filemerge) opens then quits straight away [sourcetree / xcode] Merge tool (filemerge) opens then quits straight away Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant