Git: Sprinkle with auto

Change-Id: I13886e17ee49702a69450e0f0b7d161cdfed1385
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-01-22 13:52:48 +01:00
parent b0a4921b5b
commit 03c9b935de
9 changed files with 24 additions and 25 deletions

View File

@@ -123,8 +123,8 @@ VcsCommand *CloneWizardPage::createCheckoutJob(Utils::FileName *checkoutPath) co
if (d->recursiveCheckBox->isChecked())
args << QLatin1String("--recursive");
args << QLatin1String("--progress") << repository() << checkoutDir;
VcsCommand *command = new VcsCommand(client->gitExecutable(), workingDirectory,
client->processEnvironment());
auto command = new VcsCommand(client->gitExecutable(), workingDirectory,
client->processEnvironment());
command->addFlags(VcsBasePlugin::MergeOutputChannels);
command->addJob(args, -1);
return command;