restore rsyncable docs to man page
[debian/gzip] / debian / patches / rsyncable.diff
index 1bb7d4a745fa5b4abbb5796a6f9b48a88239f011..c2eb37999632afc1266131dea019a7c97ee5030b 100644 (file)
@@ -280,3 +280,32 @@ diff -u -r gzip-1.5/gzip.h /home/bdale/debian/gzip/gzip.h
  
  extern off_t bytes_in;   /* number of input bytes */
  extern off_t bytes_out;  /* number of output bytes */
+diff --git a/gzip.1 b/gzip.1
+index 71e097c..faee860 100644
+--- a/gzip.1
++++ b/gzip.1
+@@ -5,6 +5,7 @@ gzip, gunzip, zcat \- compress or expand files
+ .ll +8
+ .B gzip
+ .RB [ " \-acdfhklLnNrtvV19 " ]
++.RB [ --rsyncable ]
+ .RB [ \-S\ suffix ]
+ [
+ .I "name \&..."
+@@ -287,6 +288,16 @@ will descend into the directory and compress all the files it finds there
+ .I gunzip
+ ).
+ .TP
++.B --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
++.BR rsync (1)
++program can take advantage of similarities in the uncompressed input
++when syncronizing two files compressed with this flag.
++.I gunzip
++cannot tell the difference between a compressed file created with this option,
++and one created without it.
++.TP
+ .B \-S .suf   --suffix .suf
+ When compressing, use suffix .suf instead of .gz.
+ Any non-empty suffix can be given, but suffixes