How to fix common mistakes in Git

One small change in in how git’s smudge/clean filters work would actually let it work much better with many document formats. Modern office documents typically store a zip of xml files. Being able to store and diff the underlying xml rather than the zip would be nice, but probably won’t happen. This only isn’t possible because the filters have to map one file to one file, not a file to a directory tree.

1 Like