Replaced "git fetch" with "git pull".

This commit is contained in:
Gerhard Hoffmann 2023-10-18 11:37:46 +02:00
parent 22f25e5251
commit a32258a59e

View File

@ -265,11 +265,11 @@ std::optional<QStringList> GitClient::gitDiff(QString const &commits) {
/*
Hat sich nichts geaendert, so werden auch keine Commits <>..<> angezeigt
*/
std::optional<QString> GitClient::gitFetch() {
std::optional<QString> GitClient::gitPull() {
if (QDir(m_customerRepository).exists()) {
qInfo() << "BRANCH NAME" << m_branchName;
Command c("git fetch");
Command c("git pull");
if (c.execute(m_customerRepository)) {
QString const s = c.getCommandResult().trimmed();
if (!s.isEmpty()) {