Got rid of two compiler warnings.
[rsync/rsync-patches.git] / min-size.diff
index b3933fa..7b7e0f8 100644 (file)
@@ -33,7 +33,7 @@
        update_only = always_checksum = size_only = 0;
        ignore_times = 1;
        make_backups = 0; /* avoid a duplicate backup for inplace processing */
---- orig/options.c     2005-04-28 16:11:43
+--- orig/options.c     2005-05-10 15:32:58
 +++ options.c  2005-04-28 16:20:41
 @@ -98,6 +98,7 @@ int only_existing = 0;
  int opt_ignore_existing = 0;
        if (max_size && am_sender) {
                args[ac++] = "--max-size";
                args[ac++] = max_size_arg;
---- orig/rsync.yo      2005-04-28 15:56:50
-+++ rsync.yo   2005-04-28 15:13:29
-@@ -350,6 +350,7 @@ to the detailed description below for a 
+--- orig/rsync.yo      2005-05-10 16:14:33
++++ rsync.yo   2005-05-06 19:12:35
+@@ -342,6 +342,7 @@ to the detailed description below for a 
       --ignore-errors         delete even if there are I/O errors
       --force                 force deletion of dirs even if not empty
       --max-delete=NUM        don't delete more than NUM files
       --max-size=SIZE         don't transfer any file larger than SIZE
       --partial               keep partially transferred files
       --partial-dir=DIR       put a partially transferred file into DIR
-@@ -766,6 +767,13 @@ dit(bf(--max-delete=NUM)) This tells rsy
+@@ -758,10 +759,16 @@ dit(bf(--max-delete=NUM)) This tells rsy
  files or directories (NUM must be non-zero).
  This is useful when mirroring very large trees to prevent disasters.
  
 +dit(bf(--min-size=SIZE)) This tells rsync to avoid transferring any
-+file that is smaller than the specified SIZE. The SIZE value can be
-+suffixed with a letter to indicate a size multiplier (K, M, or G) and
-+may be a fractional value (e.g. "bf(--max-size=1.5m)").
-+This can help in not transferring small junk files.
-+This only affects regular files, not e.g. device nodes or symbolic links.
++file that is smaller than the specified SIZE, which can help in not
++transferring small, junk files.
++
++The SIZE value can be suffixed with a letter to indicate a size multiplier
++(K, M, or G) and may be a fractional value (e.g. "bf(--min-size=2.5k)").
 +
  dit(bf(--max-size=SIZE)) This tells rsync to avoid transferring any
- file that is larger than the specified SIZE. The SIZE value can be
- suffixed with a letter to indicate a size multiplier (K, M, or G) and
+-file that is larger than the specified SIZE. The SIZE value can be
+-suffixed with a letter to indicate a size multiplier (K, M, or G) and
+-may be a fractional value (e.g. "bf(--max-size=1.5m)").
++file that is larger than the specified SIZE. See the bf(--min-size)
++option for a description of SIZE.
+ dit(bf(-B, --block-size=BLOCKSIZE)) This forces the block size used in
+ the rsync algorithm to a fixed value.  It is normally selected based on