-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cache): take into account custom options for cacheMayBeUsed flag
Previously, when a custom options file was used, the internal cacheMayBeUsed flag would be set. When set, this flag checks that the repository clone is non-shallow, sets file modification times according to commit times, and restores any previous artifact, in preparation for it to be reused by PackSquash. However, all that work goes to waste if the options file tells PackSquash to not use previous results anyway. Let's be smarter and set that flag after parsing the options, taking into account the values that were set in that file.
- Loading branch information
1 parent
751283c
commit 091f0ba
Showing
2 changed files
with
22 additions
and
7 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