forked from qt-creator/qt-creator
Git: Fix autostash for branches
Broken by 771fe03cfe
Change-Id: Ifb629535d2197bbee771050c94952068834614f3
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b0283de055
commit
5d1d2d2b62
@@ -193,8 +193,8 @@ void BranchDialog::checkout()
|
||||
} else if (branchCheckoutDialog.exec() == QDialog::Accepted && m_model) {
|
||||
|
||||
if (branchCheckoutDialog.makeStashOfCurrentBranch()) {
|
||||
if (!gitClient->executeSynchronousStash(m_repository,
|
||||
currentBranch + QLatin1String("-AutoStash"))) {
|
||||
if (gitClient->synchronousStash(m_repository,
|
||||
currentBranch + QLatin1String("-AutoStash")).isEmpty()) {
|
||||
return;
|
||||
}
|
||||
} else if (branchCheckoutDialog.moveLocalChangesToNextBranch()) {
|
||||
|
||||
Reference in New Issue
Block a user