From 9a5fa0dd48ca4cb0a258606b3b8d7d39da2ae937 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 30 Apr 2012 17:26:07 +0200 Subject: 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 --- src/plugins/git/gitclient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/git/gitclient.h') 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, -- cgit v1.2.3