mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-22 05:40:43 +08:00
enhance: enable --index option in git stash pop command by default (#903)
This commit is contained in:
@@ -75,13 +75,13 @@ namespace SourceGit.Commands
|
||||
|
||||
public bool Apply(string name)
|
||||
{
|
||||
Args = $"stash apply -q {name}";
|
||||
Args = $"stash apply --index -q {name}";
|
||||
return Exec();
|
||||
}
|
||||
|
||||
public bool Pop(string name)
|
||||
{
|
||||
Args = $"stash pop -q {name}";
|
||||
Args = $"stash pop --index -q {name}";
|
||||
return Exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user