Made GitClient a Qt-Object.
This commit is contained in:
parent
9df425f5f8
commit
aeae9002fe
@ -1,15 +1,21 @@
|
||||
#ifndef GIT_CLIENT_H_INCLUDED
|
||||
#define GIT_CLIENT_H_INCLUDED
|
||||
|
||||
|
||||
#include <QObject>
|
||||
#include <optional>
|
||||
|
||||
#include "process/command.h"
|
||||
|
||||
class Worker;
|
||||
class GitClient : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
class GitClient {
|
||||
QString m_workingDirectory;
|
||||
QString m_branchName;
|
||||
Worker *m_worker;
|
||||
QString const m_repositoryPath;
|
||||
QString const m_customerId;
|
||||
QString const m_workingDirectory;
|
||||
QString const m_branchName;
|
||||
QString const m_customerRepository;
|
||||
|
||||
std::optional<QString> gitCloneRepository(QString const &repPath);
|
||||
bool gitCheckout(QString const &branchName);
|
||||
|
Loading…
Reference in New Issue
Block a user