I have written an extdiff script to allow for diffing the text of documents like Microsoft Office XML and CDF files, and OpenOffice files. It takes its inspiration from the oodif-odt2txt combination, but uses Apache Tika for file type detection and conversion. I use kdiff3 for the actual diff GUI.
The main problem I ran into when setting it up was PATH-related. SourceTree sets up its own PATH, so you must specify the full path to your script, and if you are calling any ancillary scripts for within the main script their path will have to be specified. My script lives in ~/bin, and calls a number of other scripts in there, so I found that the easiest solution was to add
export PATH="$PATH:$(dirname $0)"
at the top of the main script.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot