Skip to content

Commit f4c82ff

Browse files
committed
fix<Fetch>: start fetch from remote's context menu should only fetch selected remote
1 parent 787fe4a commit f4c82ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ViewModels/Fetch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public bool Prune {
2424

2525
public Fetch(Repository repo, Models.Remote preferedRemote = null) {
2626
_repo = repo;
27-
_fetchAllRemotes = true;
27+
_fetchAllRemotes = preferedRemote == null;
2828
SelectedRemote = preferedRemote != null ? preferedRemote : _repo.Remotes[0];
2929
Prune = true;
3030
View = new Views.Fetch() { DataContext = this };

0 commit comments

Comments
 (0)