mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-08 04:15:00 +00:00
refactor: re-implement git stash apply
* supports `--index` option * add an option to drop selected stash after applying * remove `Pop` context menu for stash Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
dbb1df5f8b
commit
7089f29b85
9 changed files with 121 additions and 22 deletions
|
@ -91,7 +91,7 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
if (AutoRestore && succ)
|
||||
succ = new Commands.Stash(_repo.FullPath).Apply();
|
||||
succ = new Commands.Stash(_repo.FullPath).Apply("stash@{0}", true);
|
||||
|
||||
CallUIThread(() =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue