forked from qt-creator/qt-creator
Git: Factorize ctor of Push to Gerrit
Change-Id: Ib668d0e29bac25bc2f78d8885b4dfa89c292b489 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
6db52645b9
commit
517c357770
@@ -34,6 +34,12 @@
|
||||
#include <QMultiMap>
|
||||
#include <QDate>
|
||||
|
||||
namespace Git {
|
||||
namespace Internal {
|
||||
class GitClient;
|
||||
}
|
||||
}
|
||||
|
||||
namespace Gerrit {
|
||||
namespace Internal {
|
||||
|
||||
@@ -66,14 +72,16 @@ private:
|
||||
typedef QPair<QString, QDate> BranchDate;
|
||||
typedef QMultiMap<QString, BranchDate> RemoteBranchesMap;
|
||||
|
||||
QString determineRemoteBranch();
|
||||
void initRemoteBranches();
|
||||
QString calculateChangeRange();
|
||||
QString m_workingDir;
|
||||
QString m_suggestedRemoteName;
|
||||
QString m_suggestedRemoteBranch;
|
||||
Ui::GerritPushDialog *m_ui;
|
||||
RemoteBranchesMap m_remoteBranches;
|
||||
bool m_localChangesFound;
|
||||
bool m_valid;
|
||||
Git::Internal::GitClient *m_client;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user