diff options
| author | Bozhidar Batsov <bozhidar@toptal.com> | 2026-04-26 07:13:42 +0100 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@toptal.com> | 2026-04-26 07:13:42 +0100 |
| commit | 67981d6d93b957edf3359d94f6216837427834bc (patch) | |
| tree | a425158198f405ee313de72377bf698559406f53 /.github | |
| parent | 183023602f1002f39d6e5c82ca44a317d6b517fe (diff) | |
Skip cache for projectile-root-local (#1211)
projectile-root-local reads the buffer-local projectile-project-root
variable rather than inspecting its DIR argument, so caching its
result by (FUNC . DIR) was wrong: two buffers visiting the same
directory but with different file-local overrides would share the
first buffer's cached answer. Skip the cache for this function
specifically - it's a single variable read, no FS work to amortize.
Adds a regression test that visits two buffers with different
file-local roots from the same default-directory and confirms each
sees its own override.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
