feature: git bisect support

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-22 15:45:15 +08:00
parent 9eae1eeb81
commit df5294bcb7
No known key found for this signature in database
16 changed files with 397 additions and 7 deletions

View file

@ -429,5 +429,15 @@ namespace SourceGit.Views
e.Handled = true;
}
private void OnBisectCommand(object sender, RoutedEventArgs e)
{
if (sender is Button button &&
DataContext is ViewModels.Repository { IsBisectCommandRunning: false } repo &&
repo.CanCreatePopup())
repo.Bisect(button.Tag as string);
e.Handled = true;
}
}
}