[SCM] The rsync repository. - branch b3.0.x updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Mon Jan 3 20:49:42 MST 2011

The branch, b3.0.x has been updated
       via  17549c9 Mention that sorting the --files-from input is helpful.
      from  9d6fe1a Avoid reading ACL/xattr info on filetypes not being copied. Make Linux avoid xattr access on symlinks. Make OS X avoid xattr access on device/special files. Fixes bug 5458.


- Log -----------------------------------------------------------------
commit 17549c95de7952c76d05893beb6cba1ad4120814
Author: Wayne Davison <wayned at samba.org>
Date:   Mon Jan 3 19:49:05 2011 -0800

    Mention that sorting the --files-from input is helpful.


Summary of changes:
 rsync.yo |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Changeset truncated at 500 lines:

diff --git a/rsync.yo b/rsync.yo
index a523f23..0bb9b58 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -1491,6 +1491,12 @@ bf(--files-from) filenames are being sent from one host to another, the
 filenames will be translated from the sending host's charset to the
 receiving host's charset.
+NOTE: sorting the list of files in the --files-from input helps rsync to be
+more efficient, as it will avoid re-visiting the path elements that are shared
+between adjacent entries.  If the input is not sorted, some path elements
+(implied directories) may end up being scanned multiple times, and rsync will
+eventually unduplicate them after they get turned into file-list elements.
 dit(bf(-0, --from0)) This tells rsync that the rules/filenames it reads from a
 file are terminated by a null ('\0') character, not a NL, CR, or CR+LF.
 This affects bf(--exclude-from), bf(--include-from), bf(--files-from), and any

The rsync repository.

More information about the rsync-cvs mailing list