forked from qt-creator/qt-creator
Git: Remove "Branch" from synchronousCheckoutBranch
Other refs can also be checked out using this function Change-Id: I80a1c15244b1043cfce650a121c71174b9d322cb Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a85c32cb4a
commit
cf5f109b68
@@ -448,7 +448,7 @@ void BranchModel::checkoutBranch(const QModelIndex &idx)
|
||||
return;
|
||||
stashGuard.preventPop();
|
||||
QString errorMessage;
|
||||
if (m_client->synchronousCheckoutBranch(m_workingDirectory, branch, &errorMessage)) {
|
||||
if (m_client->synchronousCheckout(m_workingDirectory, branch, &errorMessage)) {
|
||||
if (errorMessage.isEmpty()) {
|
||||
QModelIndex currentIdx = currentBranch();
|
||||
if (currentIdx.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user