diff options
author | Petar Perisin <petar.perisin@gmail.com> | 2013-09-30 01:46:10 +0200 |
---|---|---|
committer | Petar Perisin <petar.perisin@gmail.com> | 2013-11-08 12:42:08 +0100 |
commit | 6c61559399ae43a9c6ae7cd9fd51185c135968a2 (patch) | |
tree | 157c42a553e7d3de86ee0c337454bda4e97c73dd /src/plugins/git/gitsubmiteditorwidget.cpp | |
parent | abfa553986923613fb8147f6663bc9773edded9c (diff) |
Git: Allow push after fixup
Direct push after fixup is really useful, especially on gerrit, because
it allows easy fixing and direct pushing commits under HEAD.
Change-Id: I83980e451c9ae86ac1ac0a55170d6d4141f27d49
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitsubmiteditorwidget.cpp')
-rw-r--r-- | src/plugins/git/gitsubmiteditorwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitsubmiteditorwidget.cpp b/src/plugins/git/gitsubmiteditorwidget.cpp index 50cffe06b7..03c4fcffee 100644 --- a/src/plugins/git/gitsubmiteditorwidget.cpp +++ b/src/plugins/git/gitsubmiteditorwidget.cpp @@ -109,7 +109,7 @@ void GitSubmitEditorWidget::initialize(CommitType commitType, setPanelData(data); setPanelInfo(info); - if (enablePush && commitType != FixupCommit) { + if (enablePush) { QMenu *menu = new QMenu(this); menu->addAction(tr("&Commit only"), this, SLOT(commitOnlySlot())); menu->addAction(tr("Commit and &Push"), this, SLOT(commitAndPushSlot())); |