diff options
author | Orgad Shaneh <[email protected]> | 2013-05-26 22:20:51 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2013-05-27 10:00:48 +0200 |
commit | 829357b39739f31ff68bf2e066e594c75f352243 (patch) | |
tree | edfe6a1c49b2b20fcddd3c2f5d81a2d2fd04b40c /src/plugins/git/gitclient.h | |
parent | 5d558c141c63f3b71151d241e8cd5fcfa3d0a1c7 (diff) |
Git: Only execute stash if there are changes
...even when NoPrompt is specified
Change-Id: I735133e390403a0f8f6aa573d6f9c63cf0784187
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 1b754f3cc2c..986f24b2e40 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -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; |