mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
fix(Pull): make sure git pull
succeeds before dropping stash
This commit is contained in:
parent
861ed8bdb6
commit
5fa2c601a8
1 changed files with 1 additions and 3 deletions
|
@ -516,10 +516,8 @@ namespace SourceGit.Git {
|
|||
}, true);
|
||||
|
||||
OnSubmoduleChanged?.Invoke();
|
||||
|
||||
AssertCommand(errs);
|
||||
|
||||
if (needPopStash) RunCommand("stash pop -q stash@{0}", null);
|
||||
if (needPopStash && errs == null) RunCommand("stash pop -q stash@{0}", null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue