forked from qt-creator/qt-creator
Git: Re-disable timeout for interactive rebase
Broken by be3e0438c6.
Change-Id: I2d22a47b764940e9c36847f2c6ea6c8e29cb29de
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
0b44b6e709
commit
4aa5116694
@@ -2930,10 +2930,11 @@ VcsCommand *GitClient::vcsExecAbortable(const QString &workingDirectory,
|
|||||||
QTC_ASSERT(!arguments.isEmpty(), return 0);
|
QTC_ASSERT(!arguments.isEmpty(), return 0);
|
||||||
|
|
||||||
QString abortCommand = arguments.at(0);
|
QString abortCommand = arguments.at(0);
|
||||||
// Git might request an editor, so this must be done asynchronously
|
// Git might request an editor, so this must be done asynchronously and without timeout
|
||||||
VcsCommand *command = vcsExec(workingDirectory, arguments, 0, true, 0, workingDirectory);
|
VcsCommand *command = createCommand(workingDirectory, 0, VcsWindowOutputBind);
|
||||||
// ... and without timeout
|
command->setCookie(workingDirectory);
|
||||||
command->setDefaultTimeoutS(0);
|
command->addJob(vcsBinary(), arguments, 0);
|
||||||
|
command->execute();
|
||||||
ConflictHandler::attachToCommand(command, abortCommand);
|
ConflictHandler::attachToCommand(command, abortCommand);
|
||||||
|
|
||||||
return command;
|
return command;
|
||||||
|
|||||||
Reference in New Issue
Block a user