Avery Pennarun:
But why not use a .gitattributes filter to recompress the zip/odp file with no compression, as I suggested? Then you can just dump the whole thing into git directly.
The advantage would be that you could look at the history of the individual components of the zip/openoffice file and follow changes. When looking at the entire zip file (even if using no compression), it is still a compound file.
The few times I need to version control zip or openoffice files, I only need to version control it *as* a zipped file, I don't need the version control to ensure that I get exactly the file out that I put in, just that it is zipped in both ends. If Git could do that by unzipping and storing the individual components itself, that would be great.
Or if someone could create a "zgit" that would allow me to version control such a file by internally unzipping it and storing it in git, and then zipping it up on checkout.
Having support for merging files inside the zip file would also be a wonderful feature to have, especially if the zip file holds mostly-text data.
-- \\// Peter - http://www.softwolves.pp.se/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html