Skip to content

rust-status: save new dircache even if just invalidated

There was a functional race between invalidating the cache (not acted upon until the end of the status algorithm) and populating the new cache (which relies upon an up-to-date version of the cache).

We simply inform the cache populating function that we've just invalidated the cache for this particular directory since the information is present in the same scope.

Merge request reports