From a32258a59ec4f1d2097b178b4be660f38acea066 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 18 Oct 2023 11:37:46 +0200 Subject: [PATCH] Replaced "git fetch" with "git pull". --- git/git_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/git_client.cpp b/git/git_client.cpp index b957c45..294ef7f 100644 --- a/git/git_client.cpp +++ b/git/git_client.cpp @@ -265,11 +265,11 @@ std::optional GitClient::gitDiff(QString const &commits) { /* Hat sich nichts geaendert, so werden auch keine Commits <>..<> angezeigt */ -std::optional GitClient::gitFetch() { +std::optional 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()) {