I am trying to get text diff from Word.docx files that work in Sourcetree on Windows 7. I followed the instructions here Using Microsoft Word with git to use Pandoc and can make it work from the command line. Unfortunately, I cannot get this diff to appear in Sourcetree. Is there anything else I need to do to get this to work?
Here is my .gitattributes file that I put in the root of my project:
*.docx diff=word
Here is my .git \ config file:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[diff "word"]
textconv=pandoc --to=markdown
prompt = false
[alias]
wdiff = diff --word-diff=color --unified=1
source
share