mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 06:14:18 -04:00
Fix list-only output of dirs w/--relative but w/o --recursive.
This commit is contained in:
1 parent
14dfad3873
commit
983f647c7e
1 file changed
+1
-1
+1
-1
@@ -1139,7 +1139,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
|
||||
|
||||
if (list_only) {
|
||||
if (S_ISDIR(file->mode)
|
||||
&& ((!implied_dirs && !(file->flags & FLAG_XFER_DIR))
|
||||
&& ((relative_paths && !implied_dirs && !(file->flags & FLAG_XFER_DIR))
|
||||
|| (inc_recurse && ndx != cur_flist->ndx_start - 1)))
|
||||
return;
|
||||
list_file_entry(file);
|
||||
|
||||
Reference in new issue
Block a user