-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scm, git: fix update to non tracked yet branches
If branch is not tracked locally, one need to create a reference while fetching the new revision. In this case, fetch info flags has NEW_HEAD bit set. While fetching a new head, only switch to the newly created ref is needed.
- Loading branch information
1 parent
7f22142
commit 51adc34
Showing
1 changed file
with
23 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