summaryrefslogtreecommitdiff
path: root/src/plugins/git/commitdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/commitdata.h')
-rw-r--r--src/plugins/git/commitdata.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h
index 6688843dd5..824f9dfe5d 100644
--- a/src/plugins/git/commitdata.h
+++ b/src/plugins/git/commitdata.h
@@ -52,6 +52,12 @@ struct GitSubmitEditorPanelInfo
QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &);
+enum PushAction {
+ CommitOnly,
+ CommitAndPush,
+ CommitAndPushToGerrit
+};
+
struct GitSubmitEditorPanelData
{
void clear();
@@ -61,6 +67,8 @@ struct GitSubmitEditorPanelData
QString author;
QString email;
bool bypassHooks;
+ PushAction pushAction;
+ bool hasRemotes;
};
QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &);