feature: use Ctrl + click to stash all changes automatically with default options (#351)

This commit is contained in:
leo 2024-08-12 15:11:49 +08:00
parent 965a4b21ae
commit 429e037adb
No known key found for this signature in database
4 changed files with 27 additions and 9 deletions

View file

@ -71,6 +71,12 @@ namespace SourceGit.Views
e.Handled = true;
}
private void StashAll(object _, RoutedEventArgs e)
{
(DataContext as ViewModels.Repository)?.StashAll(_hasCtrl);
e.Handled = true;
}
private void OpenGitFlowMenu(object sender, RoutedEventArgs e)
{
if (DataContext is ViewModels.Repository repo)