forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user