feat(Repository.cs): Pull 或者 Fetch 之后,更新界面中 SUBMODULES 的显示

This commit is contained in:
ZCShou 2020-07-24 22:15:40 +08:00
parent 3128deea2c
commit e319eed03a

View file

@ -475,6 +475,8 @@ namespace SourceGit.Git {
if (line != null) onProgress?.Invoke(line);
}, true);
OnSubmoduleChanged?.Invoke();
AssertCommand(errs);
}
@ -516,6 +518,8 @@ namespace SourceGit.Git {
if (line != null) onProgress?.Invoke(line);
}, true);
OnSubmoduleChanged?.Invoke();
AssertCommand(errs);
if (needPopStash) RunCommand("stash pop -q stash@{0}", null);