How to diff OpenOffice documents within SourceTree

Dear friends of SourceTree

Q: Is there a way to do "git-diff" of OpenOffice/LibreOffice documents (ae. *.odt) comparing line by line (or even better word by word) by using SourceTree?

Note: I do know the way installing odt2txt, configuring [path to your git repo]/.gitattributes and configuring ~/.gitconfig as mentioned ae. here. This works (nearly) fine at the console ($ git diff myopenofficefile.odt) - can I trigger SourceTree to get a something like that?

Would be a great to get an answer (or a feature at SourceTree wink) - thank you all!

Greetings — Adrian 

1 answer

This widget could not be displayed.

You can configure SourceTree to use a third party diff tool.  So if there's one out there that does this, or you script something using od2txt, you should be able to make that work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

885 views 2 3
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you