merge rsyncable doc diff
[debian/gzip] / debian / patches / rsyncable.diff
index 96780f3bb42381d44426cefac5afdb49880de3bb..e615d984f72ea670151dd7f3511a1defe58fc8b6 100644 (file)
@@ -254,3 +254,30 @@ index 0c3dd68..5270c56 100644
  
  extern off_t bytes_in;   /* number of input bytes */
  extern off_t bytes_out;  /* number of output bytes */
+diff --git a/doc/gzip.texi b/doc/gzip.texi
+index 84887c3..ecd4e00 100644
+--- a/doc/gzip.texi
++++ b/doc/gzip.texi
+@@ -207,6 +207,7 @@ Mandatory arguments to long options are mandatory for short options too.
+   -V, --version     display version number
+   -1, --fast        compress faster
+   -9, --best        compress better
++    --rsyncable   Make rsync-friendly archive
+ With no FILE, or when FILE is -, read standard input.
+@@ -361,6 +362,14 @@ in the uncompressed input when syncronizing two files compressed with
+ this flag.  @code{gunzip} cannot tell the difference between a
+ compressed file created with this option, and one created without it.
++@item --rsyncable
++While compressing, synchronize the output occasionally based on
++the input.  This increases size by less than 1 percent most
++cases, but means that the @command{rsync} program can much more efficiently
++synchronize files compressed with this flag.  @command{gunzip}
++cannot tell the difference between a compressed file created
++with this option, and one created without it.
++
+ @item --suffix @var{suf}
+ @itemx -S @var{suf}
+ Use suffix @var{suf} instead of @samp{.gz}.  Any suffix can be