X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpatches%2Frsyncable.diff;h=e615d984f72ea670151dd7f3511a1defe58fc8b6;hb=9af050f9889674fb04518742776b1522a2bd1c21;hp=96780f3bb42381d44426cefac5afdb49880de3bb;hpb=b077cf6484f5bd70d0fd6623d91a53e87248dc98;p=debian%2Fgzip diff --git a/debian/patches/rsyncable.diff b/debian/patches/rsyncable.diff index 96780f3..e615d98 100644 --- a/debian/patches/rsyncable.diff +++ b/debian/patches/rsyncable.diff @@ -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