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
(parent:
ac1cb93
)
We need to turn off make_backups for the redo phase so that
author
Wayne Davison
<wayned@samba.org>
Sun, 27 Feb 2005 07:50:43 +0000
(07:50 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 27 Feb 2005 07:50:43 +0000
(07:50 +0000)
the inplace processing doesn't make a second backup.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
6966ec1
..
ac68c57
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1146,6
+1146,7
@@
void generate_files(int f_out, struct file_list *flist, char *local_name,
only_existing = max_size = opt_ignore_existing = 0;
update_only = always_checksum = size_only = 0;
ignore_times = 1;
+ make_backups = 0; /* avoid a duplicate backup for inplace processing */
/* We expect to just sit around now, so don't exit on a timeout.
* If we really get a timeout then the other process should exit. */