mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
enhance: enable --index
option in git stash pop
command by default (#903)
This commit is contained in:
parent
cc5f3ebfa5
commit
6f407fb086
1 changed files with 2 additions and 2 deletions
|
@ -75,13 +75,13 @@ namespace SourceGit.Commands
|
||||||
|
|
||||||
public bool Apply(string name)
|
public bool Apply(string name)
|
||||||
{
|
{
|
||||||
Args = $"stash apply -q {name}";
|
Args = $"stash apply --index -q {name}";
|
||||||
return Exec();
|
return Exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Pop(string name)
|
public bool Pop(string name)
|
||||||
{
|
{
|
||||||
Args = $"stash pop -q {name}";
|
Args = $"stash pop --index -q {name}";
|
||||||
return Exec();
|
return Exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue