forked from qt-creator/qt-creator
Git: Fix source repository resolution in Stashes dialog
Remove workaround done in Branches and store copies where they're needed. Task-number: QTCREATORBUG-14850 Change-Id: I6a81fc5ac02fb11d444906af6cfbe768695c9965 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d7c5ee7edd
commit
786aa4a441
@@ -316,8 +316,7 @@ void BranchDialog::diff()
|
||||
QString fullName = m_model->fullName(selectedIndex(), true);
|
||||
if (fullName.isEmpty())
|
||||
return;
|
||||
// Do not pass working dir by reference since it might change
|
||||
GitPlugin::instance()->client()->diffBranch(QString(m_repository), fullName);
|
||||
GitPlugin::instance()->client()->diffBranch(m_repository, fullName);
|
||||
}
|
||||
|
||||
void BranchDialog::log()
|
||||
@@ -325,8 +324,7 @@ void BranchDialog::log()
|
||||
QString branchName = m_model->fullName(selectedIndex(), true);
|
||||
if (branchName.isEmpty())
|
||||
return;
|
||||
// Do not pass working dir by reference since it might change
|
||||
GitPlugin::instance()->client()->log(QString(m_repository), QString(), false, QStringList(branchName));
|
||||
GitPlugin::instance()->client()->log(m_repository, QString(), false, QStringList(branchName));
|
||||
}
|
||||
|
||||
void BranchDialog::reset()
|
||||
|
||||
Reference in New Issue
Block a user