mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
fix<Fetch>: start fetch from remote's context menu should only fetch selected remote
This commit is contained in:
parent
787fe4ad70
commit
f4c82ff749
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace SourceGit.ViewModels {
|
|||
|
||||
public Fetch(Repository repo, Models.Remote preferedRemote = null) {
|
||||
_repo = repo;
|
||||
_fetchAllRemotes = true;
|
||||
_fetchAllRemotes = preferedRemote == null;
|
||||
SelectedRemote = preferedRemote != null ? preferedRemote : _repo.Remotes[0];
|
||||
Prune = true;
|
||||
View = new Views.Fetch() { DataContext = this };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue