forked from qt-creator/qt-creator
Vcs: Split up VcsCommand
Move the biggest chunk into Utils::ShellCommand, add some Qt Creator specific magic in Core::ShellCommand and leave the rest in VcsBase::VcsCommand. Change-Id: I5fe6f7076e96023ad2164bcfaacfb3b65a7ff8a8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include "gitclient.h"
|
||||
|
||||
#include <vcsbase/vcsoutputwindow.h>
|
||||
#include <vcsbase/vcsbaseplugin.h>
|
||||
#include <vcsbase/vcscommand.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -164,7 +164,7 @@ bool LogChangeWidget::populateLog(const QString &repository, const QString &comm
|
||||
if (!(flags & IncludeRemotes))
|
||||
arguments << QLatin1String("--not") << QLatin1String("--remotes");
|
||||
QString output;
|
||||
if (!client->synchronousLog(repository, arguments, &output, 0, VcsBasePlugin::NoOutput))
|
||||
if (!client->synchronousLog(repository, arguments, &output, 0, VcsCommand::NoOutput))
|
||||
return false;
|
||||
foreach (const QString &line, output.split(QLatin1Char('\n'))) {
|
||||
const int colonPos = line.indexOf(QLatin1Char(':'));
|
||||
|
||||
Reference in New Issue
Block a user