-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contenthash: include basename in content checksum for wildcards
While we generally ignore the basename in this layer, for wildcards there in no other place to add the basename to the checksum as they can not be resolved earlier. Before the basename that was in the checksum was the wildcard itself, so if the wildcard remained same, content remained same but the file where wildcard pointed to was renamed, the cache was not invalidated. Unfortunately, this change breaks cache for all copy commands that use a wildcard. Signed-off-by: Tonis Tiigi <[email protected]> (cherry picked from commit 1982e1e)
- Loading branch information
1 parent
56a99f4
commit a1094c6
Showing
3 changed files
with
64 additions
and
13 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
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
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