Commit 0f5fdbe0 authored by Tobias Hunger's avatar Tobias Hunger

Git: WS fix

Change-Id: I0b4d37ae8ccd5f5edd8f049d31519be7d2131036
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 68045c1d
......@@ -1968,12 +1968,9 @@ bool GitClient::synchronousApplyPatch(const QString &workingDirectory,
}
// Execute a single command
VcsCommand *GitClient::executeGit(const QString &workingDirectory,
const QStringList &arguments,
VcsBaseEditorWidget* editor,
bool useOutputToWindow,
unsigned additionalFlags,
int editorLineNumber)
VcsCommand *GitClient::executeGit(const QString &workingDirectory, const QStringList &arguments,
VcsBaseEditorWidget *editor, bool useOutputToWindow,
unsigned additionalFlags, int editorLineNumber)
{
VcsOutputWindow::appendCommand(workingDirectory, vcsBinary(), arguments);
VcsCommand *command = createCommand(workingDirectory, editor,
......@@ -2048,8 +2045,8 @@ SynchronousProcessResponse GitClient::synchronousGit(const QString &workingDirec
bool GitClient::fullySynchronousGit(const QString &workingDirectory,
const QStringList &gitArguments,
QByteArray* outputText,
QByteArray* errorText,
QByteArray *outputText,
QByteArray *errorText,
unsigned flags) const
{
VcsCommand command(vcsBinary(), workingDirectory, processEnvironment());
......
......@@ -376,18 +376,16 @@ private:
void requestReload(const QString &documentId, const QString &source, const QString &title,
std::function<DiffEditor::DiffEditorController *(Core::IDocument *)> factory) const;
VcsBase::VcsCommand *executeGit(const QString &workingDirectory,
const QStringList &arguments,
VcsBase::VcsBaseEditorWidget* editor = 0,
bool useOutputToWindow = false,
unsigned additionalFlags = 0,
int editorLineNumber = -1);
VcsBase::VcsCommand *executeGit(const QString &workingDirectory, const QStringList &arguments,
VcsBase::VcsBaseEditorWidget *editor = 0,
bool useOutputToWindow = false, unsigned additionalFlags = 0,
int editorLineNumber = -1);
// Fully synchronous git execution (QProcess-based).
bool fullySynchronousGit(const QString &workingDirectory,
const QStringList &arguments,
QByteArray* outputText,
QByteArray* errorText = 0,
QByteArray *outputText,
QByteArray *errorText = 0,
unsigned flags = 0) const;
// Synchronous git execution using Utils::SynchronousProcess, with
......
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