From: Wayne Davison Date: Sun, 27 Feb 2005 07:50:43 +0000 (+0000) Subject: We need to turn off make_backups for the redo phase so that X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e6bc6f42325e2127c7289cb28833e091c783d8ca We need to turn off make_backups for the redo phase so that the inplace processing doesn't make a second backup. --- diff --git a/generator.c b/generator.c index 6966ec1d..ac68c576 100644 --- 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. */