What
Directory sync is the feature that uploads a folder from your machine for a cloud session. It now reads the .gitignore file (a list of files git should ignore) in every subfolder and applies it to that part of the tree, alongside the top-level rules. Before, only the top-level rules were used.
There are limits:
- If the subfolder
.gitignorefiles together are too large, listing fails with "the .gitignore files in this folder's subdirectories together hold more than sync reads". - If a subfolder's
.gitignorecannot be read or used, that whole subfolder is left out of the sync and you are warned.
Why
Cloud sessions started from a folder no longer upload files that a nested .gitignore excludes, such as build output inside a subpackage. Watch for the warning if a folder you expected is missing from the session.