-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #10507 - Eh2406:finer_grained_cashe, r=weihanglo
File Cache is valid if checkout or contents hasn't changed #10482 allow the registry to have cashe keys at a per file level. On master if the currently checked out commit changes all cached files are regenerated. After this commit we also check if GITs hash of the particular file has changed. To avoid thrashing cached files this PR only checks for the presence of both hashes, but does not write them both. This means that nightly after this branch will still be able to share file caches with older versions, specifically current stable. When sufficient versions of stable know how to read the new format, a one line change can be made to start writing the new format.
- Loading branch information
Showing
1 changed file
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters