mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 05:44:17 -04:00
Always send implied dirs as dirs.
This commit is contained in:
1 parent
4f802c6637
commit
74db1f1498
1 file changed
+1
-4
@@ -1545,8 +1545,7 @@ static void send_implied_dirs(int f, struct file_list *flist, char *fname,
|
||||
int save_copy_links = copy_links;
|
||||
int save_xfer_dirs = xfer_dirs;
|
||||
|
||||
copy_links |= copy_unsafe_links;
|
||||
xfer_dirs = 1;
|
||||
copy_links = xfer_dirs = 1;
|
||||
|
||||
*limit = '\0';
|
||||
|
||||
@@ -1560,8 +1559,6 @@ static void send_implied_dirs(int f, struct file_list *flist, char *fname,
|
||||
if (inc_recurse) {
|
||||
if (file && !S_ISDIR(file->mode))
|
||||
file = NULL;
|
||||
else if (file)
|
||||
memset(F_DIR_RELS_P(file), 0, sizeof (item_list*));
|
||||
lastpath_struct = file;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user