forked from qt-creator/qt-creator
VcsCommand: Remove one addJob overload
Remove defaultTimeoutS field, as it wasn't broadly used. Change-Id: I0056788b066eb6d682d5ba7acdb01d5dd3568967 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -3436,7 +3436,7 @@ VcsCommand *GitClient::vcsExecAbortable(const FilePath &workingDirectory,
|
||||
| VcsCommand::ShowSuccessMessage);
|
||||
// For rebase, Git might request an editor (which means the process keeps running until the
|
||||
// user closes it), so run without timeout.
|
||||
command->addJob({vcsBinary(), arguments}, isRebase ? 0 : command->defaultTimeoutS());
|
||||
command->addJob({vcsBinary(), arguments}, isRebase ? 0 : vcsTimeoutS());
|
||||
ConflictHandler::attachToCommand(command, abortCommand);
|
||||
if (isRebase)
|
||||
GitProgressParser::attachToCommand(command);
|
||||
|
||||
Reference in New Issue
Block a user