Nick Craig-Wood da404dc0f2 sync,copy: Fix --fast-list --create-empty-src-dirs and --exclude
Before this change, if --fast-list was in use while doing a sync or
copy with --create-empty-src-dirs and --exclude excluded all the files
from the directory (but not the directory), then the directory would
not be created.

This is also visible with `rclone tree` which uses the same tree
building approach as `rclone sync --fast-list` where the directories
would go missing from the tree view.

This was caused by not adding the parents of excluded files to the
directory tree.

See: https://forum.rclone.org/t/create-empty-src-dirs-issue-with-b2/30856
2022-05-23 10:10:55 +01:00
..
2020-10-14 15:21:31 +01:00
2021-10-20 22:56:19 +02:00
2022-04-22 12:44:04 +01:00
2018-08-21 10:58:59 +01:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2022-04-28 16:29:13 +01:00
2022-04-28 16:29:13 +01:00
2022-04-28 16:29:13 +01:00