mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +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
|
@ -29,11 +29,6 @@ namespace SourceGit.Commands {
|
|||
Args = $"tag --delete {name}";
|
||||
if (!Exec()) return false;
|
||||
|
||||
var repo = Models.Preference.Instance.FindRepository(Cwd);
|
||||
if (repo != null && repo.Filters.Contains(name)) {
|
||||
repo.Filters.Remove(name);
|
||||
}
|
||||
|
||||
if (push) {
|
||||
var remotes = new Remotes(Cwd).Result();
|
||||
foreach (var r in remotes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue