VcsBase: Reuse CommandOutputBindMode instead of bool

Reuse it inside vcsExec() and vcsExecWithHandler().

Change-Id: I6ff4044bf43e0883fc46a49718f5f44da87a7e13
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-12-08 21:30:00 +01:00
parent 46213c82be
commit 112835922a
4 changed files with 21 additions and 23 deletions

View File

@@ -1584,7 +1584,7 @@ void GitPluginPrivate::instantBlame()
};
GitClient::instance()->vcsExecWithHandler(workingDirectory,
{"blame", "-p", "-L", lineString, "--", filePath.toString()},
this, commandHandler, RunFlags::NoOutput, false);
this, commandHandler, RunFlags::NoOutput, CommandOutputBindMode::NoBind);
}
void GitPluginPrivate::stopInstantBlame()