diff options
author | Friedemann Kleint <[email protected]> | 2012-04-30 17:26:07 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2012-05-02 11:12:49 +0200 |
commit | 9a5fa0dd48ca4cb0a258606b3b8d7d39da2ae937 (patch) | |
tree | b93922252bf653023fbca4a90186e8c3b97ad4a5 /src/plugins/git/gitclient.h | |
parent | aefb7d061ca0d8a770f0e6eda8dbc4f20d638dcd (diff) |
Git: Offer recent list of changes for reset --hard.
This makes it easier to remove changed applied for review
by Gerrit.
Change-Id: I2e3407ae4e74b650d08d53fed37e9aeb11071a4e
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 01108522380..4b9856b2421 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -107,6 +107,9 @@ public: void checkoutBranch(const QString &workingDirectory, const QString &branch); void hardReset(const QString &workingDirectory, const QString &commit = QString()); void addFile(const QString &workingDirectory, const QString &fileName); + bool synchronousLog(const QString &workingDirectory, + const QStringList &arguments, + QString *output, QString *errorMessage = 0); bool synchronousAdd(const QString &workingDirectory, // Warning: Works only from 1.6.1 onwards bool intendToAdd, |