Commit db29090b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Test if an operation is in progress on commit



Suggest to continue

Change-Id: I7d8d22d976efe446c2f60e2ba18bf08a123cca36
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
parent cc3f1ad0
......@@ -949,8 +949,10 @@ bool GitPlugin::submitEditorAboutToClose(VcsBase::VcsBaseSubmitEditor *submitEdi
closeEditor = m_gitClient->addAndCommit(m_submitRepository, editor->panelData(),
m_commitAmendSHA1, m_commitMessageFileName, model);
}
if (closeEditor)
if (closeEditor) {
cleanCommitMessageFile();
m_gitClient->continueCommandIfNeeded(m_submitRepository);
}
return closeEditor;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment