forked from qt-creator/qt-creator
GitClient: Simplify vcsExec
Get rid of editor arg. Reorder last two args (to conform to vcsExecWithHandler). Change-Id: Ia32757ac8b766640b76bef81f1b2e0f5efe4d48c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -93,12 +93,10 @@ public:
|
||||
const CommandHandler &handler,
|
||||
RunFlags additionalFlags = RunFlags::None,
|
||||
bool useOutputToWindow = true) const;
|
||||
// Simple helper to execute a single command using createCommand and enqueueJob.
|
||||
void vcsExec(const Utils::FilePath &workingDirectory,
|
||||
const QStringList &arguments,
|
||||
VcsBaseEditorWidget *editor = nullptr,
|
||||
bool useOutputToWindow = false,
|
||||
RunFlags additionalFlags = RunFlags::None) const;
|
||||
RunFlags additionalFlags = RunFlags::None,
|
||||
bool useOutputToWindow = true) const;
|
||||
void vcsExecWithEditor(const Utils::FilePath &workingDirectory,
|
||||
const QStringList &arguments,
|
||||
VcsBaseEditorWidget *editor) const;
|
||||
|
||||
Reference in New Issue
Block a user