6 ms·
.docx files are a zip folder of plaintext XML files. Theoretically they could be tracked with git if you unzip/zip every commit/checkout.
by smithza 4y ago
.docx files are a zip folder of plaintext XML files. Theoretically they could be tracked with git if you unzip/zip every commit/checkout.
- charlieyu1 4y agoI actually tried to hash .docx files to keep track of them. Turns out there are random timestamp data that the resulting file is different every time
- int_19h 4y agoThis doesn't work well when XML is not hand-edited, but rather a dump of some in-memory structure - there are many cases where e.g. order is not important, so it can be essentially random during serialization, and that then shows up as spurious diffs.