Vcs: Simplify VcsCommand::runCommand interface

The timeout and exit code interpreter properties are already
accessible via the SynchronousProcess parameter.

Change-Id: I1ba9c768a781009df65b5070a1d017c41d7e2663
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2021-05-14 13:28:13 +02:00
parent b2dc771d80
commit 73c0175f4b
9 changed files with 21 additions and 24 deletions

View File

@@ -47,9 +47,7 @@ public:
void runCommand(Utils::SynchronousProcess &process,
const Utils::CommandLine &command,
int timeoutS,
const QString &workDirectory = QString(),
const Utils::ExitCodeInterpreter &interpreter = {}) override;
const QString &workDirectory = {}) override;
private:
void emitRepositoryChanged(const QString &workingDirectory);