From f4c82ff749023679179559f15bd95040d74d93c5 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 26 Feb 2024 09:38:25 +0800 Subject: [PATCH] fix: start fetch from remote's context menu should only fetch selected remote --- src/ViewModels/Fetch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewModels/Fetch.cs b/src/ViewModels/Fetch.cs index e5d94c77..dc85c94d 100644 --- a/src/ViewModels/Fetch.cs +++ b/src/ViewModels/Fetch.cs @@ -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 };