We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a99ee6 commit f572366Copy full SHA for f572366
src/ViewModels/DeleteBranch.cs
@@ -52,11 +52,13 @@ public override async Task<bool> Sure()
52
await new Commands.Branch(_repo.FullPath, Target.Name)
53
.Use(log)
54
.DeleteLocalAsync();
55
+ _repo.HistoryFilterCollection.RemoveFilter(Target.FullName, Models.FilterType.LocalBranch);
56
57
if (_alsoDeleteTrackingRemote && TrackingRemoteBranch != null)
58
+ {
59
await DeleteRemoteBranchAsync(TrackingRemoteBranch, log);
-
- _repo.HistoryFilterCollection.RemoveFilter(Target.FullName, Models.FilterType.LocalBranch);
60
+ _repo.HistoryFilterCollection.RemoveFilter(TrackingRemoteBranch.FullName, Models.FilterType.RemoteBranch);
61
+ }
62
}
63
else
64
{
0 commit comments