-
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.
Only fetch when branch/tag/commit not on local repo
The fetch operation is a slow operation, if a commit/tag/branch has been on local repo, we can skip the fetch operation. For branch, if it's a known branch, the following pull will also fetch from remote. For tag/commit, if it's a know local commit/tag, the fetch is not required as it has been downloaded to local.
- Loading branch information
Showing
2 changed files
with
126 additions
and
29 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