Git: Only execute stash if there are changes

...even when NoPrompt is specified

Change-Id: I735133e390403a0f8f6aa573d6f9c63cf0784187
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-05-26 22:20:51 +03:00
committed by Orgad Shaneh
parent 5d558c141c
commit 829357b397
2 changed files with 18 additions and 19 deletions

View File

@@ -110,7 +110,7 @@ public:
QString stashMessage() const { return m_message; }
private:
void stashPrompt(const QString &keyword, QString *errorMessage);
void stashPrompt(const QString &keyword, const QString &statusOutput, QString *errorMessage);
void executeStash(const QString &keyword, QString *errorMessage);
bool m_pop;