Bug#280388: does not preserve gzip compression level when editing compressed files

2005-03-22 Thread Pierre HABOUZIT
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 ?
-- 
·O·  Pierre Habouzit
··O
OOOhttp://www.madism.org


signature.asc
Description: Digital signature


Bug#280388: does not preserve gzip compression level when editing compressed files

2005-03-22 Thread Joey Hess
Pierre HABOUZIT wrote:
   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 ?

I know that file(1) can do it, I assume there's a bit in the header
somewhere that it's using.

-- 
see shy jo


signature.asc
Description: Digital signature