forked from qt-creator/qt-creator
Vcs: Move vcsBinary and vcsTimeout into VcsBaseClientImpl
Change-Id: Ib14432c85f42606a0437f3848b9dfa2fe63fb2f3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user