<fix>(*): 撤销了 commit ceff6ef102

This commit is contained in:
ZCShou 2020-07-30 13:59:12 +08:00
parent a41c7a7b1c
commit 9ea9d18a4d
9 changed files with 25 additions and 83 deletions

View file

@ -76,17 +76,8 @@ namespace SourceGit.UI {
if (remote == null || branch == null) return;
string subMod;
if (RbtnRrsSubModYes.IsChecked == true) {
subMod = "--recurse-submodules=yes";
} else if (RbtnRrsSubModNo.IsChecked == true) {
subMod = "--recurse-submodules=no";
} else {
subMod = "--recurse-submodules=on-demand";
}
PopupManager.Lock();
await Task.Run(() => repo.Pull(remote, branch.Substring(branch.IndexOf('/')+1), subMod, PopupManager.UpdateStatus, rebase, autoStash));
await Task.Run(() => repo.Pull(remote, branch.Substring(branch.IndexOf('/')+1), PopupManager.UpdateStatus, rebase, autoStash));
PopupManager.Close(true);
}