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

@@ -93,6 +93,7 @@ public:
QObject *remoteCommand(const QStringList &options, const QString &workingDirectory,
const QStringList &args) override;
void manageRemotes();
void initRepository();
protected:
void updateActions(VcsBase::VcsBasePlugin::ActionState) override;