Vcs: Move vcsBinary and vcsTimeout into VcsBaseClientImpl

Change-Id: Ib14432c85f42606a0437f3848b9dfa2fe63fb2f3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-03-27 14:24:47 +01:00
parent 73a7732850
commit 2ccae82b5c
6 changed files with 28 additions and 33 deletions

View File

@@ -404,12 +404,9 @@ void GerritPlugin::push()
Utils::FileName GerritPlugin::gitBinary()
{
bool ok;
const Utils::FileName git = gitClient()->vcsBinary(&ok);
if (!ok) {
const Utils::FileName git = gitClient()->vcsBinary();
if (git.isEmpty())
VcsBase::VcsOutputWindow::appendError(tr("Git is not available."));
return Utils::FileName();
}
return git;
}