Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
51b2ff0
)
A couple comment tweaks.
author
Wayne Davison
<wayned@samba.org>
Sat, 20 Nov 2010 17:30:35 +0000
(09:30 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sat, 20 Nov 2010 17:30:35 +0000
(09:30 -0800)
match.c
patch
|
blob
|
blame
|
history
diff --git
a/match.c
b/match.c
index
229c9dd
..
2c7b616
100644
(file)
--- 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) {
* one with an identical offset, so we prefer that over
* the adjacent want_i optimization. */
if (updating_basis_file) {
- /* All the
sende
r's chunks start at blength boundaries. */
+ /* All the
generato
r's chunks start at blength boundaries. */
while (aligned_offset < offset)
aligned_offset += s->blength;
if (offset == aligned_offset) {
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;
}
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;
}
s->sums[i].flags |= SUMFLG_SAME_OFFSET;
want_i = i;
}