git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.48k stars 1.25k forks source link

Can not open merge tool #861

Closed YunshuaiPeng closed 1 year ago

YunshuaiPeng commented 1 year ago

Click the button, nothing happened.

gitup version: Version 1.3.2 (1045) file merge version: Version 2.11 (21012) macos version: macos Monterey 12.5.1 Apple M1

image
matv13v commented 1 year ago

Hi! As far as I know, you should to have a third-party tool for that kind of thing.

lucasderraugh commented 1 year ago
Screenshot 2022-11-30 at 11 29 24 AM

@pys1992 Are your external diff and external merge set to FileMerge?

YunshuaiPeng commented 1 year ago
Screenshot 2022-11-30 at 11 29 24 AM

@pys1992 Are your external diff and external merge set to FileMerge?

Of caurse. I haven't changed the settings.

image
YunshuaiPeng commented 1 year ago

Kapture 2022-12-09 at 15 47 30

lucasderraugh commented 1 year ago

@pys1992 What is your output if you run /usr/bin/opendiff in Terminal?

YunshuaiPeng commented 1 year ago
 /usr/bin/opendiff                                                                                                ✘ 255 deploy ✭
xcode-select: error: tool 'opendiff' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
lucasderraugh commented 1 year ago

@pys1992 Please follow the steps to fix your Command Line tools instance. https://stackoverflow.com/questions/41116584/error-xcode-select-error-tool-xcodebuild-requires-xcode

You can do this either through Xcode, or xcode-select command line tool.

YunshuaiPeng commented 1 year ago

Thanks. I fix the issue by this answer. https://stackoverflow.com/a/17980786

lucasderraugh commented 1 year ago

Great! We throw alerts around most of these things, but we currently aren't doing anything when the task is run. It would be ideal if we could capture failure and present the output to the user so they can perhaps avoid debugging like we did here 😅.