fix<Pull>: fix stash and re-apply is not working on pull command

This commit is contained in:
leo 2023-08-21 20:39:38 +08:00
parent f92f5746b9
commit 9006752705

View file

@ -47,7 +47,7 @@ namespace SourceGit.Views.Popups {
return Task.Run(() => {
Models.Watcher.SetEnabled(repo.Path, false);
var succ = new Commands.Pull(repo.Path, branch.Remote, branch.Name, rebase, autoStash, UpdateProgress).Exec();
var succ = new Commands.Pull(repo.Path, branch.Remote, branch.Name, rebase, autoStash, UpdateProgress).Run();
Models.Watcher.SetEnabled(repo.Path, true);
return succ;
});