Vcs: Move vcsSynchronousExec into VcsBaseClientImpl

Use it in favor of git's synchronousGit method.

Change-Id: I1fc8031cb6d258073b64163aeeeaeac84443fb8c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-04-10 16:10:46 +02:00
parent 085d4a900d
commit 5954506d19
4 changed files with 21 additions and 38 deletions

View File

@@ -373,12 +373,6 @@ private:
bool useOutputToWindow = false, unsigned additionalFlags = 0,
int editorLineNumber = -1);
// Synchronous git execution using Utils::SynchronousProcess, with
// log windows updating (using VcsBasePlugin::runVcs with flags).
inline Utils::SynchronousProcessResponse
synchronousGit(const QString &workingDirectory, const QStringList &arguments,
unsigned flags = 0, QTextCodec *outputCodec = 0) const;
// determine version as '(major << 16) + (minor << 8) + patch' or 0.
unsigned synchronousGitVersion(QString *errorMessage = 0) const;