enhance: enable --index option in git stash pop command by default (#903)

This commit is contained in:
leo 2025-01-14 18:07:55 +08:00
parent cc5f3ebfa5
commit 6f407fb086
No known key found for this signature in database

View file

@ -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();
}