The branch, master has been updated
       via  8484ddd A couple comment tweaks.
      from  51b2ff0 Optimize --inplace chunck search to avoid a non-aligned 
search.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 8484ddd3d1e667eb209328c17c389972adc4f14a
Author: Wayne Davison <way...@samba.org>
Date:   Sat Nov 20 09:30:35 2010 -0800

    A couple comment tweaks.

-----------------------------------------------------------------------

Summary of changes:
 match.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/match.c b/match.c
index 229c9dd..2c7b616 100644
--- a/match.c
+++ b/match.c
@@ -235,7 +235,7 @@ static void hash_search(int f,struct sum_struct *s,
                         * one with an identical offset, so we prefer that over
                         * the adjacent want_i optimization. */
                        if (updating_basis_file) {
-                               /* All the sender's chunks start at blength 
boundaries. */
+                               /* All the generator's chunks start at blength 
boundaries. */
                                while (aligned_offset < offset)
                                        aligned_offset += s->blength;
                                if (offset == aligned_offset) {
@@ -249,8 +249,7 @@ static void hash_search(int f,struct sum_struct *s,
                                                                break;
                                                        i = i2;
                                                }
-                                               /* This chunk was at the same 
offset on
-                                                * both the sender and the 
receiver. */
+                                               /* This chunk remained in the 
same spot in the old and new file. */
                                                s->sums[i].flags |= 
SUMFLG_SAME_OFFSET;
                                                want_i = i;
                                        }


-- 
The rsync repository.
_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to