Hacker News new | ask | show | jobs
by WorldMaker 3291 days ago
I did something similar: I built a tool in Python called musdex to use in git (or any other VCS) hooks to extract the zip file that a docx/odf file is before commits and recombine them on pull/merge (essentially treating the docx/odf as something of the build product of the repo). Run an xml lint tool on the XML in them and you get decent diffs.