-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use repository cache without update if offline
If there's an error populating the cache, check whether we're offline and have an existing valid repository state. If yes, use cached state and emit a warning. On macOS, we're using network reachability to determine the connection status, on other platforms we rely on crude parsing of the git error message for now.
- Loading branch information
Showing
1 changed file
with
57 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