A notable issue, when storing opendocument files, is that git is unable to get good deltas of them, since they are actually compressed zip files. To solve this issue in https://github.com/callegar/Rezip I have a script that re-saves the opendocument files with no compression using git's clean/smudge functionality.
It works reasonably well in spite of being a bit hackish. In fact, it also works, with docx files, jar files, and more.
I believe it could be even better if git could provide hooks to expand archive type files in their component + a tree like object.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds