Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BF: run: Fix expansion of cached full paths
To avoid unnecessary re-globbing, GlobbedPaths.expand() stores the glob results, which are relative paths. When full=True, it also converts these paths to absolute paths and stores that result. However, since its introduction, the "full path, already stored" logic has been incorrect and returns relative paths. Update expand() to actually use the cached full paths. With the current run implementation, the way to trigger this codepath is to call run *from a subdirectory* with explicit=True. Fixes #2916.
- Loading branch information