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:
184dd27
)
If a partial-dir file is present but the main file is up-to-date,
author
Wayne Davison
<wayned@samba.org>
Thu, 10 Nov 2005 02:56:58 +0000
(
02:56
+0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 10 Nov 2005 02:56:58 +0000
(
02:56
+0000)
just remove the partial-dir file.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
965e283
..
c66feaa
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1069,6
+1069,10
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
else if (fnamecmp_type == FNAMECMP_FUZZY)
;
else if (unchanged_file(fnamecmp, file, &st)) {
+ if (partialptr) {
+ do_unlink(partialptr);
+ handle_partial_dir(partialptr, PDIR_DELETE);
+ }
if (fnamecmp_type == FNAMECMP_FNAME) {
if (itemizing) {
itemize(file, ndx, real_ret, &real_st,