-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we implemented the feature, GitHub has started to allow fetching SHAs directly. Let's take advantage of that where we can by avoiding a full sync of all the available refs in a remote when it's not needed. Fall back on a "full sync" if that fails. This is a bit wasteful if the SHA is truly gone, but it preserves compatibility and will let the update succeed if GitHub ever changes their minds, or if using another git server with similar restrictions. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
- Loading branch information
1 parent
e7b40d2
commit af9f721
Showing
1 changed file
with
45 additions
and
24 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