2 ms·
This might not be exactly what you're asking for but I'll just leave it here in case someone finds it useful: A couple years back I built this: https://github.
by tomashubelbauer 6y ago
This might not be exactly what you're asking for but I'll just leave it here in case someone finds it useful:
A couple years back I built this: https://github.com/tomashubelbauer/modern-office-git-diff https://github.com/tomashubelbauer/modern-office-git-diff
It is a pre-commit script which unpacks Office XML into text contents and tracks that alongside the source file. This way you can consider the binary to be a source of truth, but with each commit you also get a textual diff showing what changed content-wise. More or less.
Some person built the same thing for OpenOffice and I link their project in my readme, too.
- toyg 6y agoThis is pretty cool, I might even use it for some personal stuff. Probably not enough for non-programmers, but could be the basis for something else to emerge. Thanks!
- Jaruzel 6y agoThis feature now built into Word, and has been for some time. see my other comment in this thread.
- tomashubelbauer 6y agoSure, it's probably better to use that if you don't mind that. I am big on plain-text files and Git and sometimes I have to bend reality a little bit in order to keep working my way when others won't. This is one of those cases.
- Jaruzel 6y agoI wasn't dissing yours - Sorry if it came across that way!
- tomashubelbauer 6y agoNo worries at all! :-)
- josteink 6y ago> but with each commit you also get a textual diff showing what changed content-wise. More or less. You can do that with pandoc[1] as a git diff-viewer[2] too. [1] https://pandoc.org/ https://pandoc.org/ [2] https://github.com/vigente/gerardus/wiki/Integrate-git-diffs-with-word-docx-files https://github.com/vigente/gerardus/wiki/Integrate-git-diffs...