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);
|
||||
|
||||
QString abortCommand = arguments.at(0);
|
||||
// Git might request an editor, so this must be done asynchronously
|
||||
VcsCommand *command = vcsExec(workingDirectory, arguments, 0, true, 0, workingDirectory);
|
||||
// ... and without timeout
|
||||
command->setDefaultTimeoutS(0);
|
||||
// Git might request an editor, so this must be done asynchronously and without timeout
|
||||
VcsCommand *command = createCommand(workingDirectory, 0, VcsWindowOutputBind);
|
||||
command->setCookie(workingDirectory);
|
||||
command->addJob(vcsBinary(), arguments, 0);
|
||||
command->execute();
|
||||
ConflictHandler::attachToCommand(command, abortCommand);
|
||||
|
||||
return command;
|
||||
|
||||
Reference in New Issue
Block a user