Am 06.02.2012 09:49, schrieb Norbert Thiebaud: > On Mon, Feb 6, 2012 at 2:34 AM, Stephan Bergmann <[email protected]> wrote: >> On 02/05/2012 09:50 PM, Johannes Sixt wrote: >>> >>> 1. Is the order of the files in the ZIP archive important? >> >> >> Yes. >> <http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#__RefHeading__752809_826425813>: >> "The 'mimetype' file shall be the first file of the zip file." > > you should be able to work around that by using 2 git-archive one to > archive mimetype and another one to 'update' the zip with the rest, > hopefully mimetype would still be in front.
Thanks for the pointer, but I'm not trying to generate a conforming file, just something that LO can import back without loss of information. > otehr wise you'd have to write your own git-archive, which should not > be _that_ hard... If you serach in teh git history of git, I'm pretty > sure at some point that was implemented as a shell script.... Nope, git-archive was always a C program. ;) -- Hannes _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
