mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-03 10:04:59 +00:00
fix<Histroies>: remove invalid filters to fix issue #I5RZC9
This commit is contained in:
parent
a19f81a708
commit
814637946d
5 changed files with 81 additions and 29 deletions
|
@ -43,11 +43,6 @@ namespace SourceGit.Views.Popups {
|
|||
full = $"refs/remotes/{remote}/{branch}";
|
||||
new Commands.Push(repo, remote, branch).Exec();
|
||||
}
|
||||
|
||||
var exists = Models.Preference.Instance.FindRepository(repo);
|
||||
if (exists != null && exists.Filters.Contains(full)) {
|
||||
exists.Filters.Remove(full);
|
||||
}
|
||||
|
||||
finishHandler?.Invoke();
|
||||
Models.Watcher.SetEnabled(repo, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue