forked from qt-creator/qt-creator
Git: Fix expecting changes in executeGit
Calling setExpectChanges after execute is too late Change-Id: I852c224206fcd758943252029b8e9b050920ca5c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c9d1a72af1
commit
709920e013
@@ -350,10 +350,11 @@ private:
|
||||
int editorLineNumber = -1);
|
||||
|
||||
VcsBase::Command *executeGit(const QString &workingDirectory,
|
||||
const QStringList &arguments,
|
||||
VcsBase::VcsBaseEditorWidget* editor = 0,
|
||||
bool useOutputToWindow = false,
|
||||
int editorLineNumber = -1);
|
||||
const QStringList &arguments,
|
||||
VcsBase::VcsBaseEditorWidget* editor = 0,
|
||||
bool useOutputToWindow = false,
|
||||
bool expectChanges = false,
|
||||
int editorLineNumber = -1);
|
||||
|
||||
// Fully synchronous git execution (QProcess-based).
|
||||
bool fullySynchronousGit(const QString &workingDirectory,
|
||||
|
||||
Reference in New Issue
Block a user