mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
fix<Stash>: fix stash failed when there's too many files to be stashed
This commit is contained in:
parent
905531f2db
commit
ccb3c07064
4 changed files with 53 additions and 31 deletions
|
@ -31,7 +31,7 @@ namespace SourceGit.Commands {
|
|||
if (needStash) {
|
||||
var changes = new LocalChanges(Cwd).Result();
|
||||
if (changes.Count > 0) {
|
||||
if (!new Stash(Cwd).Push(changes, "PULL_AUTO_STASH")) {
|
||||
if (!new Stash(Cwd).Push(changes, "PULL_AUTO_STASH", true)) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue