Git: Reduce sync processes

Change-Id: I5d83636d4a018464ba6f248aa818fb8f840df9fc
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Orgad Shaneh
2023-02-11 20:58:18 +02:00
committed by Orgad Shaneh
parent 6a0a4ac5e4
commit d20f543619
8 changed files with 172 additions and 77 deletions

View File

@@ -23,6 +23,10 @@ class QTextCodec;
class QToolBar;
QT_END_NAMESPACE
namespace Utils {
class QtcProcess;
}
namespace VcsBase {
class CommandResult;
@@ -56,6 +60,10 @@ public:
VcsCommand *createCommand(const Utils::FilePath &workingDirectory,
VcsBaseEditorWidget *editor = nullptr) const;
void setupCommand(Utils::QtcProcess &process,
const Utils::FilePath &workingDirectory,
const QStringList &args) const;
void enqueueJob(VcsCommand *cmd, const QStringList &args,
const Utils::ExitCodeInterpreter &interpreter = {}) const;