opendiff

Using OS X FileMerge/opendiff to view git differences, loading all files at once in the directory view

纵饮孤独 提交于 2019-12-25 14:29:49
问题 We are version controlling our project using git. Developing under OS X, we'd like to use the FileMerge application distributed with the development tools to display git generated differences: If we understood correctly, it is possible to configure its invocation through git difftool . Following advices from different sources, we added this in our global git configuration file: [diff] tool = opendiff It works well for "file by file" diffs. But we prefer to have a directory difference loaded

trying to setup svn external diff program on mac

偶尔善良 提交于 2019-12-11 14:54:52
问题 I'm having problems trying to setup an external diff program for svn on Mac OSX Lion. I have both xxdiff and opendiff installed. I add these lines to ~/.subversion/config: diff-cmd = opendiff diff3-cmd = opendiff or diff-cmd = /Applications/xxdiff.app/Contents/MacOS/xxdiff diff3-cmd = /Applications/xxdiff.app/Contents/MacOS/xxdiff But when I invoke svn, I get this error: svn: /Users/tre11/.subversion/config:49: Option expected How do I fix this problem? 回答1: There aren't many diff utilities,

How do you use posix_spawn to replace the deprecated 'system' to launch opendiff in Objective-C?

怎甘沉沦 提交于 2019-12-03 07:36:01
问题 This line of code: system("/Applications/Xcode.app/Contents/Developer/usr/bin/opendiff /Users/LukeSkywalker/Documents/doc1.rtf /Users/LukeSkywalker/Documents/doc2.rtf"); gives me this warning: 'system' is deprecated: first deprecated in iOS 8.0 - Use posix_spawn APIs instead. I've read a little bit about posix_spawn, but I can't figure out what an equivalent line of code using posix_spawn would look like. Any help or links to samples would be appreciated. 回答1: Using posix_spawn() , to answer

git diff with opendiff gives “Couldn't launch FileMerge” error

旧巷老猫 提交于 2019-12-03 01:47:14
问题 I have git configured to use ~/bin/opendiff-git.sh as my external diff tool. That script looks like this: opendiff $2 $5 When I try and do a git diff from the command line, I get this message: 2011-02-18 13:58:55.532 opendiff[27959:60f] exception raised trying to run FileMerge: launch path not accessible 2011-02-18 13:58:55.535 opendiff[27959:60f] Couldn't launch FileMerge external diff died, stopping at source/some_file.m. What's going on? This has worked for many months, but stopped working

How to use opendiff as default mergetool

孤人 提交于 2019-11-28 09:04:06
Hi I am trying to use opendiff as the git mergetool, but when I run mergetool I get this error message: The merge tool opendiff is not available as 'opendiff' What am I doing wrong? It was working fine before, but since I installed a new harddrive it's not working anymore :( Kevin Leary You'll need to configure opendiff as your global merge.tool: # locate xcode utilities sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # set "opendiff" as the default mergetool globally git config --global merge.tool opendiff If you get Agreeing to the Xcode/iOS license requires admin

How to use opendiff as default mergetool

一个人想着一个人 提交于 2019-11-27 02:37:56
问题 Hi I am trying to use opendiff as the git mergetool, but when I run mergetool I get this error message: The merge tool opendiff is not available as 'opendiff' What am I doing wrong? It was working fine before, but since I installed a new harddrive it's not working anymore :( 回答1: You'll need to configure opendiff as your global merge.tool: # locate xcode utilities sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # set "opendiff" as the default mergetool globally git config