mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +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
|
@ -490,10 +490,11 @@ namespace SourceGit.ViewModels
|
|||
return;
|
||||
}
|
||||
|
||||
if (autoStart)
|
||||
PopupHost.ShowAndStartPopup(new Pull(this, null));
|
||||
var pull = new Pull(this, null);
|
||||
if (autoStart && pull.SelectedBranch != null)
|
||||
PopupHost.ShowAndStartPopup(pull);
|
||||
else
|
||||
PopupHost.ShowPopup(new Pull(this, null));
|
||||
PopupHost.ShowPopup(pull);
|
||||
}
|
||||
|
||||
public void Push(bool autoStart)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue