mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08: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) {
|
public Fetch(Repository repo, Models.Remote preferedRemote = null) {
|
||||||
_repo = repo;
|
_repo = repo;
|
||||||
_fetchAllRemotes = true;
|
_fetchAllRemotes = preferedRemote == null;
|
||||||
SelectedRemote = preferedRemote != null ? preferedRemote : _repo.Remotes[0];
|
SelectedRemote = preferedRemote != null ? preferedRemote : _repo.Remotes[0];
|
||||||
Prune = true;
|
Prune = true;
|
||||||
View = new Views.Fetch() { DataContext = this };
|
View = new Views.Fetch() { DataContext = this };
|
||||||
|
|
Loading…
Reference in a new issue