Bug#280388: does not preserve gzip compression level when editing compressed files
Pierre HABOUZIT <email@example.com>, firstname.lastname@example.org
Tue, 22 Mar 2005 10:49:59 +0100
Content-Type: text/plain; charset=iso-8859-1
On Mon, Nov 08, 2004 at 09:39:10PM -0500, Joey Hess wrote:
> Package: vim-common
> Version: 1:6.3-025+1
> Severity: wishlist
> I ram vim on a gzipped file and was suprised to see the file grow 10k.
> It turnes out the original was compressed with gzip -9 and when vim
> rewrote it after my edit, it used the default compression level.
> Since it is possible to see what compression level was used on a file
> when opening it, I think that it would be good for gzip.vim to record
> that and use the same compression level when writing it.
that's right. I confirm the bug
but I cannnot find in gzip man page any way to find the level that was
used. do you have any clue on how to achieve that ?
=B7O=B7 Pierre Habouzit
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-----END PGP SIGNATURE-----