Git: Allow creating a new repository from branch view

... when clicking "Add Branch" in a project that is not
under git version control.

The "Add Branch" serves no purpose here, so re-use it
to call this (already existing) function.

Done-with: Orgad Shaneh <orgad.shaneh@audiocodes.com>
Change-Id: Ib23d2cbeec0598e0b6f00cbde265793cc25e6142
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2018-09-27 21:01:53 +02:00
committed by André Hartmann
parent 017f4d7c4d
commit 546956a302
3 changed files with 13 additions and 1 deletions

View File

@@ -1319,6 +1319,11 @@ void GitPlugin::manageRemotes()
showNonModalDialog(currentState().topLevel(), m_remoteDialog);
}
void GitPlugin::initRepository()
{
createRepository();
}
void GitPlugin::stashList()
{
showNonModalDialog(currentState().topLevel(), m_stashDialog);