How to diff OpenOffice documents within SourceTree

Adrian Christen July 9, 2015

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

0 votes
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2015

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
TAGS
AUG Leaders

Atlassian Community Events