forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#3231) Don't refresh local package info during upgrade no-ops
This optimizes the flow of the upgrade command. First, it uses the list of locally installed package from the if all is specified check, instead of throwing that away. Then, it will re-use the list for each package upgrade attempt, only refreshing the list when a package upgrade/install is attempted. This speeds up upgrade all runs, especially when a large (200+) number of packages are installed.
- Loading branch information
1 parent
d836138
commit 0ee9377
Showing
1 changed file
with
11 additions
and
2 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