Commit e463c56c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tobias Hunger
Browse files

Git: Fix calls to ensureStash

Change-Id: I581afbe314055796d22f883e501dfb5fd17117fe
Reviewed-by: default avatarTobias Hunger <>
parent 4e5e6b45
......@@ -444,7 +444,7 @@ void BranchModel::checkoutBranch(const QModelIndex &idx)
QString errorMessage;
switch (m_client->ensureStash(m_workingDirectory, QLatin1String("Branch-Checkout"), 0, &errorMessage)) {
switch (m_client->ensureStash(m_workingDirectory, QLatin1String("Branch-Checkout"), true, 0, &errorMessage)) {
case GitClient::StashUnchanged:
case GitClient::Stashed:
case GitClient::NotStashed:
......@@ -1571,7 +1571,7 @@ static inline int askWithDetailedText(QWidget *parent,
GitClient::StashResult GitClient::ensureStash(const QString &workingDirectory, const QString &keyword, QString *message)
QString errorMessage;
const StashResult sr = ensureStash(workingDirectory, keyword, message, &errorMessage);
const StashResult sr = ensureStash(workingDirectory, keyword, true, message, &errorMessage);
if (sr == StashFailed)
return sr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment