mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-19 14:55:27 +00:00
List ignored directories as single entries and only search inside them when a .worktreeinclude pattern matches the directory or names a path inside it. A bare .env no longer selects node_modules/pkg/.env. Verified with real Git and isolated daemon workspace creation on Linux. With 300,000 ignored files, Git trace2 recorded over 6,000 directory visits before the fix and fewer than five after. The workspace copied the root .env. The lifecycle test also verified rollback when copying fails. Closes #10004 Co-authored-by: mgranderath <22001111+mgranderath@users.noreply.github.com>