forked from qt-creator/qt-creator
VcsCommand: Get rid of setCookie()
Remove cookie arg from finished() signal, as it's not used currently. Thus, remove setCookie() method. Change-Id: Iedd328aece776eebd2d161a36ec28370b8bc4bfc Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -344,11 +344,8 @@ void GitBaseDiffEditorController::updateBranchList()
|
||||
if (revision.isEmpty())
|
||||
return;
|
||||
|
||||
const FilePath workingDirectory = baseDirectory();
|
||||
VcsCommand *command = m_instance->vcsExec(
|
||||
workingDirectory,
|
||||
{"branch", noColorOption, "-a", "--contains", revision}, nullptr,
|
||||
false, 0, workingDirectory.toString());
|
||||
VcsCommand *command = m_instance->vcsExec(baseDirectory(),
|
||||
{"branch", noColorOption, "-a", "--contains", revision});
|
||||
connect(command, &VcsCommand::stdOutText, this, [this](const QString &text) {
|
||||
const QString remotePrefix = "remotes/";
|
||||
const QString localPrefix = "<Local>";
|
||||
|
||||
Reference in New Issue
Block a user