mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
feature: git bisect
support
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
9eae1eeb81
commit
df5294bcb7
16 changed files with 397 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue