VCS[git]: Remove unneeded 'success' confirmation of pull.

This commit is contained in:
Friedemann Kleint
2010-09-01 16:02:50 +02:00
parent e83806e636
commit 36a05bb5e3

View File

@@ -1700,8 +1700,7 @@ bool GitClient::synchronousPull(const QString &workingDirectory, bool rebase)
if (rebase)
arguments << QLatin1String("--rebase");
// Disable UNIX terminals to suppress SSH prompting.
const unsigned flags = VCSBase::VCSBasePlugin::SshPasswordPrompt|VCSBase::VCSBasePlugin::ShowStdOutInLogWindow
|VCSBase::VCSBasePlugin::ShowSuccessMessage;
const unsigned flags = VCSBase::VCSBasePlugin::SshPasswordPrompt|VCSBase::VCSBasePlugin::ShowStdOutInLogWindow;
const Utils::SynchronousProcessResponse resp = synchronousGit(workingDirectory, arguments, flags);
// Notify about changed files or abort the rebase.
const bool ok = resp.result == Utils::SynchronousProcessResponse::Finished;