Tracking OpenOffice files/other compressed files with Git
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Sep 9, 2008, 06:19 UTC
- Message-ID
- <Pine.LNX.4.64.0809090715520.19359@ds9.cixit.se>
Hi!
I find myself tracking OpenOffice files every now and then. Mostly to synchronise to be able to edit documents in multiple locations, less for the actual history.
I notice, however, that the Git history tend to grow quite a bit, especially for larger documents (I have a 175 kilobyte spredsheet that has a git database of about 8 megabytes).
Since OpenOffice doucuments are just zipped xml files, I wondered how difficult it would be to create some hooks/hack git to track the files inside the archives instead?
Alternatively, does anyone know if it is possible to set OpenOffice not to use compression for a saved document? If it was uncompressed text, I would think Git's delta compression would fare better.
-- \\// Peter - http://www.softwolves.pp.se/