forked from qt-creator/qt-creator
Git: s/GitPlugin::gitClient/GitPlugin::client/
... same name as with almost all other plugins. Change-Id: I964159044d86685735e8b1e816a0bf67e0576fd8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
90ce38da39
commit
4f7844d6f5
@@ -110,7 +110,7 @@ QString CloneWizardPage::directoryFromRepository(const QString &urlIn) const
|
||||
|
||||
VcsCommand *CloneWizardPage::createCheckoutJob(Utils::FileName *checkoutPath) const
|
||||
{
|
||||
const Internal::GitClient *client = Internal::GitPlugin::instance()->gitClient();
|
||||
const Internal::GitClient *client = Internal::GitPlugin::instance()->client();
|
||||
const QString workingDirectory = path();
|
||||
const QString checkoutDir = directory();
|
||||
*checkoutPath = Utils::FileName::fromString(workingDirectory + QLatin1Char('/') + checkoutDir);
|
||||
@@ -137,7 +137,7 @@ QStringList CloneWizardPage::branches(const QString &repository, int *current)
|
||||
|
||||
if (repository.isEmpty())
|
||||
return QStringList();
|
||||
const QStringList branches = Internal::GitPlugin::instance()->gitClient()->synchronousRepositoryBranches(repository);
|
||||
const QStringList branches = Internal::GitPlugin::instance()->client()->synchronousRepositoryBranches(repository);
|
||||
if (!branches.isEmpty())
|
||||
*current = 0; // default branch is always returned first!
|
||||
return branches;
|
||||
|
||||
Reference in New Issue
Block a user