Commit 3eac49d9 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Git: Show progress on clone

When stderr is not a terminal, --progress should be passed
to display progress

Task-number: QTCREATORBUG-6565
Change-Id: I59ba731cab55d0dd7de5e11cefe7dd254505ee11
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent aefd6147
......@@ -124,7 +124,7 @@ VcsBase::Command *CloneWizardPage::createCheckoutJob(QString *checkoutPath) cons
QStringList args(QLatin1String("clone"));
if (!checkoutBranch.isEmpty())
args << QLatin1String("--branch") << checkoutBranch;
args << repository() << checkoutDir;
args << QLatin1String("--progress") << repository() << checkoutDir;
VcsBase::Command *command = new VcsBase::Command(client->gitBinaryPath(), workingDirectory,
client->processEnvironment());
command->addFlags(VcsBase::VcsBasePlugin::MergeOutputChannels);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment