mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feat(Repository.cs): Pull 或者 Fetch 之后,更新界面中 SUBMODULES 的显示
This commit is contained in:
parent
3128deea2c
commit
e319eed03a
1 changed files with 5 additions and 1 deletions
|
@ -473,7 +473,9 @@ namespace SourceGit.Git {
|
||||||
|
|
||||||
var errs = RunCommand(args, line => {
|
var errs = RunCommand(args, line => {
|
||||||
if (line != null) onProgress?.Invoke(line);
|
if (line != null) onProgress?.Invoke(line);
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
OnSubmoduleChanged?.Invoke();
|
||||||
|
|
||||||
AssertCommand(errs);
|
AssertCommand(errs);
|
||||||
}
|
}
|
||||||
|
@ -516,6 +518,8 @@ namespace SourceGit.Git {
|
||||||
if (line != null) onProgress?.Invoke(line);
|
if (line != null) onProgress?.Invoke(line);
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
OnSubmoduleChanged?.Invoke();
|
||||||
|
|
||||||
AssertCommand(errs);
|
AssertCommand(errs);
|
||||||
|
|
||||||
if (needPopStash) RunCommand("stash pop -q stash@{0}", null);
|
if (needPopStash) RunCommand("stash pop -q stash@{0}", null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue