mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-26 15:58:36 -05:00
The delete-during code needs to skip directories that don't exist
yet in --dry-run mode to avoid outputting bogus delete details.
This commit is contained in:
@@ -1909,7 +1909,7 @@ void generate_files(int f_out, const char *local_name)
|
||||
f_name(fp, fbuf);
|
||||
ndx = cur_flist->ndx_start - 1;
|
||||
recv_generator(fbuf, fp, ndx, itemizing, code, f_out);
|
||||
if (delete_during) {
|
||||
if (delete_during && dry_run < 2) {
|
||||
if (BITS_SETnUNSET(fp->flags, FLAG_XFER_DIR, FLAG_MISSING_DIR)) {
|
||||
dev_t dirdev;
|
||||
if (one_file_system) {
|
||||
|
||||
Reference in New Issue
Block a user