forked from qt-creator/qt-creator
VcsCommand: Limit the usage of setCookie()
It looks like the cookie set inside GitClient::vcsExecAbortable() is never read back again. The only place where we connect to finished() signal of the command returned by vcsExecAbortable() is GitClient::pull(), however, we ignore the cookie there. Change-Id: Iaec08b255309ea406e45695231fe9849d5dc7285 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -3434,7 +3434,6 @@ VcsCommand *GitClient::vcsExecAbortable(const FilePath &workingDirectory,
|
||||
if (abortCommand.isEmpty())
|
||||
abortCommand = arguments.at(0);
|
||||
VcsCommand *command = createCommand(workingDirectory, nullptr, VcsWindowOutputBind);
|
||||
command->setCookie(workingDirectory.toString());
|
||||
command->addFlags(VcsCommand::SshPasswordPrompt
|
||||
| VcsCommand::ShowStdOut
|
||||
| VcsCommand::ShowSuccessMessage);
|
||||
|
||||
Reference in New Issue
Block a user