mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
fix(Pull): make sure git pull succeeds before dropping stash
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user