git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Next: Johannes Sixt
Message 1 of 9 in “Tracking OpenOffice files/other compressed files with Git”
  1. Peter KreftingSep 9, 2008
  2. Johannes SixtSep 9, 2008
  3. SergioSep 9, 2008
  4. Michael J GruberSep 9, 2008
  5. Johannes SixtSep 9, 2008
  6. Sergio CallegariSep 9, 2008
  7. Johannes SixtSep 9, 2008
  8. Mike HommeySep 9, 2008
  9. Matthieu MoySep 9, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.