Git: Add context-menu actions for cherry-pick and revert

Change-Id: Ic266fe039423a37df2fc347ead7530322ac47bb8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-01-23 17:06:43 +02:00
committed by Orgad Shaneh
parent 5e5831bb12
commit b53d398e2c
5 changed files with 36 additions and 1 deletions

View File

@@ -236,6 +236,9 @@ protected:
// Revert a patch chunk. Default implementation uses patch.exe
virtual bool applyDiffChunk(const DiffChunk &dc, bool revert = false) const;
virtual void addChangeActions(QMenu *menu, const QString &change);
private:
// Implement to return a set of change identifiers in
// annotation mode
virtual QSet<QString> annotationChanges() const = 0;