Simplified interface.

This commit is contained in:
Gerhard Hoffmann 2023-07-17 16:51:40 +02:00
parent 37c5c7c4f6
commit 93d6277386

View File

@ -12,7 +12,7 @@ class GitClient : public QObject {
Worker *m_worker;
QString const m_repositoryPath;
QString const m_customerId;
QString const m_customerNr;
QString const m_workingDirectory;
QString const m_branchName;
QString const m_customerRepository;
@ -20,8 +20,8 @@ class GitClient : public QObject {
bool copyGitConfigFromMaster();
public:
explicit GitClient(QString const &repositoryPath,
QString const &customerId,
explicit GitClient(QString const &customerNrStr,
QString const &repositoryPath,
QString const &workingDirectory = QCoreApplication::applicationDirPath(),
QString const &branchName = "master",
QObject *parent = 0);