Re: Management of opendocument (openoffice.org) files in git
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Sep 16, 2008, 07:52 UTC
- Message-ID
- <48CF65CC.6080509@viscovery.net>
- In-Reply-To
- <48CF630F.4090808@gmail.com>
Sergio Callegari schrieb:
Show 12 quoted lines
> Johannes Sixt wrote: >> >> You don't need a temporay zip filename in filter mode: >> >> unzip $UNZIP_OPTS /dev/stdin # works for me, but not 100% portable >> zip $ZIP_OPTS - . # writes to stdout >> >> > The unzip documentation says "Archives read from standard input are not > yet supported", so I was a bit worried about using the /dev/stdin > thing. Might it be that there are subtle cases where unzip needs to > seek or rewind?
I didn't test thoroughly nor did I read the documentation. So if the documentation says stdin is a no-go, you better do what it says. ;)
> In any case - but this is just my feeling - it is much more disturbing > the delay that the clean filter introduces in operations like add or > status or commit, than the one introduced by the (slower) smudge filter > in checkout.
My feeling is that the temporary tree that is written slows it down. If rezip were a true filter it could be faster.
-- Hannes