mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 03:34:59 +00:00
fix: filter with local branch should not include invalid upstream (gone) (#1308)
This commit is contained in:
parent
cf7b61dd71
commit
65808e5f58
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ namespace SourceGit.ViewModels
|
|||
if (!changed)
|
||||
return;
|
||||
|
||||
if (isLocal && !string.IsNullOrEmpty(branch.Upstream))
|
||||
if (isLocal && !string.IsNullOrEmpty(branch.Upstream) && !branch.IsUpstreamGone)
|
||||
_settings.UpdateHistoriesFilter(branch.Upstream, Models.FilterType.RemoteBranch, mode);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue