refactor: add a popup panel to show submodule updating status

This commit is contained in:
leo 2024-06-04 11:36:00 +08:00
parent 069c78f213
commit d0edc09b2e
8 changed files with 71 additions and 9 deletions

View file

@ -29,9 +29,10 @@ namespace SourceGit.Commands
}
}
public bool Update()
public bool Update(Action<string> outputHandler)
{
Args = $"submodule update --rebase --remote";
_outputHandler = outputHandler;
return Exec();
}