mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
enhance: leave remote branch to empty when the local branch tracks no branch in the remote while pulling changes (#469)
This commit is contained in:
parent
ab8b27c1f8
commit
1ec5cc416d
2 changed files with 5 additions and 4 deletions
|
@ -210,7 +210,7 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
if (!autoSelectedBranch)
|
||||
SelectedBranch = branches.Count > 0 ? branches[0] : null;
|
||||
SelectedBranch = null;
|
||||
}
|
||||
|
||||
private readonly Repository _repo = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue