mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
fix: auto-filter does not work well (#855)
This commit is contained in:
parent
127315528a
commit
4e06944c9f
5 changed files with 31 additions and 28 deletions
|
@ -768,7 +768,7 @@ namespace SourceGit.ViewModels
|
|||
exclude.Header = App.Text("Repository.FilterCommits.Exclude");
|
||||
exclude.Click += (_, e) =>
|
||||
{
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.Excluded);
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.Excluded, false, true);
|
||||
e.Handled = true;
|
||||
};
|
||||
|
||||
|
@ -780,7 +780,7 @@ namespace SourceGit.ViewModels
|
|||
include.Header = App.Text("Repository.FilterCommits.Include");
|
||||
include.Click += (_, e) =>
|
||||
{
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.Included);
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.Included, false, true);
|
||||
e.Handled = true;
|
||||
};
|
||||
visibility.Items.Add(include);
|
||||
|
@ -792,7 +792,7 @@ namespace SourceGit.ViewModels
|
|||
unset.Header = App.Text("Repository.FilterCommits.Default");
|
||||
unset.Click += (_, e) =>
|
||||
{
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.None);
|
||||
_repo.SetBranchFilterMode(branch, Models.FilterMode.None, false, true);
|
||||
e.Handled = true;
|
||||
};
|
||||
visibility.Items.Add(exclude);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue