mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
feat(Repository.cs): Pull 或者 Fetch 之后,更新界面中 SUBMODULES 的显示
This commit is contained in:
@@ -473,7 +473,9 @@ namespace SourceGit.Git {
|
||||
|
||||
var errs = RunCommand(args, line => {
|
||||
if (line != null) onProgress?.Invoke(line);
|
||||
}, true);
|
||||
}, 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);
|
||||
|
||||
Reference in New Issue
Block a user