From e319eed03a257d1a66b1f5a05e23d142b8aac92d Mon Sep 17 00:00:00 2001 From: ZCShou <72115@163.com> Date: Fri, 24 Jul 2020 22:15:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(Repository.cs):=20Pull=20=E6=88=96?= =?UTF-8?q?=E8=80=85=20Fetch=20=E4=B9=8B=E5=90=8E=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=95=8C=E9=9D=A2=E4=B8=AD=20SUBMODULES=20=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SourceGit/Git/Repository.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SourceGit/Git/Repository.cs b/SourceGit/Git/Repository.cs index cef88973..ab607f4e 100644 --- a/SourceGit/Git/Repository.cs +++ b/SourceGit/Git/Repository.cs @@ -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);