forked from qt-creator/qt-creator
Git: Make GitClient and VcsBaseClient more similar
Use the same signature for the createCommand method in both. Change-Id: I948a9fd1af2850730736731c53ee8d1b0b9b30bc Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -377,10 +377,14 @@ private:
|
||||
void requestReload(const QString &documentId, const QString &source, const QString &title,
|
||||
std::function<DiffEditor::DiffEditorController *(Core::IDocument *)> factory) const;
|
||||
|
||||
enum JobOutputBindMode {
|
||||
NoOutputBind,
|
||||
VcsWindowOutputBind
|
||||
};
|
||||
|
||||
VcsBase::VcsCommand *createCommand(const QString &workingDirectory,
|
||||
VcsBase::VcsBaseEditorWidget* editor = 0,
|
||||
bool useOutputToWindow = false,
|
||||
int editorLineNumber = -1);
|
||||
VcsBase::VcsBaseEditorWidget *editor = 0,
|
||||
JobOutputBindMode mode = NoOutputBind);
|
||||
|
||||
VcsBase::VcsCommand *executeGit(const QString &workingDirectory,
|
||||
const QStringList &arguments,
|
||||
|
||||
Reference in New Issue
Block a user