forked from qt-creator/qt-creator
Git: WS fix
Change-Id: I0b4d37ae8ccd5f5edd8f049d31519be7d2131036 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user