|
From: | Aaron Bentley |
Subject: | Re: [Gnu-arch-users] [BUG] Re: False "binary" files |
Date: | Fri, 11 Feb 2005 15:59:35 -0500 |
User-agent: | Mozilla Thunderbird 0.6 (X11/20040530) |
Anand Kumria wrote:
On Thu, 10 Feb 2005 21:34:02 +0100, Matthieu Moy wrote:Searching for preprecommit hook for example ...A precommit hook would be useful to implement exploding OpenOffice (and other compressed XML) files.
No, pre-precommit. (aka prepare-commit)The existing precommit hook is invoked too late in the commit process to permit the working directory to be modified.
You could use this to, unzip *.sxw into a directory. Perform the commit. Reverse the explosion by zipping the directory back to a .sxw file. Ugly but it should work.
Quite ugly, because every time you ran 'changes', it would show spurious deletions for all the files in the sxw. You'd have to explode every sxw file before running 'changes' to avoid that.
Aaron -- Aaron Bentley Director of Technology Panometrics, Inc.
[Prev in Thread] | Current Thread | [Next in Thread] |