From: Bdale Garbee Date: Tue, 11 Jun 2013 17:53:10 +0000 (-0600) Subject: restore rsyncable docs to man page X-Git-Tag: debian/1.6-1~3 X-Git-Url: https://git.gag.com/?p=debian%2Fgzip;a=commitdiff_plain;h=285735ab97cbb5bfe116ee18cf3a9c1e89da0919 restore rsyncable docs to man page --- diff --git a/debian/patches/rsyncable.diff b/debian/patches/rsyncable.diff index 1bb7d4a..c2eb379 100644 --- a/debian/patches/rsyncable.diff +++ b/debian/patches/rsyncable.diff @@ -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 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