summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitsubmiteditor.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-04-30 23:26:47 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-05-04 20:01:04 +0200
commit8695fe6d7c8724714cdf4a2a748a56d44da2cce1 (patch)
tree2c187f6d3e294ff4a754a60cd7f1e8f0df5382c6 /src/plugins/git/gitsubmiteditor.h
parent5d325f6b1ae270073242fb5788804b426bf4ebb9 (diff)
downloadqt-creator-8695fe6d7c8724714cdf4a2a748a56d44da2cce1.tar.gz
Git: Implement "Fixup previous commit"
Change-Id: Ia2584ff975ed0db614dc878a70ce4adbd5c3ba67 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitsubmiteditor.h')
-rw-r--r--src/plugins/git/gitsubmiteditor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/git/gitsubmiteditor.h b/src/plugins/git/gitsubmiteditor.h
index e2d79e5fb7..9791be259e 100644
--- a/src/plugins/git/gitsubmiteditor.h
+++ b/src/plugins/git/gitsubmiteditor.h
@@ -56,6 +56,8 @@ public:
void setCommitData(const CommitData &);
GitSubmitEditorPanelData panelData() const;
bool forceClose() const { return m_forceClose; }
+ CommitType commitType() const { return m_commitType; }
+ QString amendSHA1() const;
signals:
void diff(const QStringList &unstagedFiles, const QStringList &stagedFiles);
@@ -75,6 +77,7 @@ private:
VcsBase::SubmitFileModel *m_model;
QString m_commitEncoding;
CommitType m_commitType;
+ QString m_amendSHA1;
bool m_forceClose;
QString m_workingDirectory;
};