mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: use Ctrl
+ click to stash all changes automatically with default options (#351)
This commit is contained in:
parent
965a4b21ae
commit
429e037adb
4 changed files with 27 additions and 9 deletions
|
@ -317,6 +317,17 @@ namespace SourceGit.ViewModels
|
|||
dialog.ShowDialog(toplevel);
|
||||
}
|
||||
|
||||
public void StashAll(bool autoStart)
|
||||
{
|
||||
if (!PopupHost.CanCreatePopup())
|
||||
return;
|
||||
|
||||
if (autoStart)
|
||||
PopupHost.ShowAndStartPopup(new StashChanges(_repo, _cached, true));
|
||||
else
|
||||
PopupHost.ShowPopup(new StashChanges(_repo, _cached, true));
|
||||
}
|
||||
|
||||
public void StageSelected()
|
||||
{
|
||||
StageChanges(_selectedUnstaged);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue