问题
I've been following guides like these here and here on how to diff binaries in git - more specifically .odt files and microsoft word files.
They have allowed me to $git diff <commit>
on .odt files and microsoft word files to display the difference in the terminal; however their methods don't seem to work with $git difftool <commit>
on binary files, such as .odt files or .docx files.
Ideally I would like to display the text diff of .odt files or .docx files in an external program such as kdiff3 or vimdiff from git.
Is this possible? Has anyone been able to correctly display the text of binary files in an external program from git? If so, any advice on how to configure difftool for binaries?
来源:https://stackoverflow.com/questions/34098218/is-git-difftool-on-binaries-possible-if-so-how-does-one-configure-it