diff --git a/src/api/helpers/git_helper.cpp b/src/api/helpers/git_helper.cpp index fcd0a066..0ba0f9e8 100644 --- a/src/api/helpers/git_helper.cpp +++ b/src/api/helpers/git_helper.cpp @@ -88,7 +88,7 @@ void GitHelper::InitialiseOptions(const std::string& branch, const std::string& filenameToCheckout) { if (logger_) { logger_->debug( - "Setting up checkout options uUsing branch {} and filename {}.", + "Setting up checkout options using branch {} and filename {}.", branch, filenameToCheckout); } @@ -183,7 +183,7 @@ void GitHelper::Clone(const std::filesystem::path& path, // Clone the remote repository. if (logger_) { - logger_->info("Repository doesn't exist, cloning the remote repository."); + logger_->info("Repository doesn't exist, cloning the remote repository at \"{}\".", url); } fs::create_directories(path.parent_path()); diff --git a/src/api/masterlist.cpp b/src/api/masterlist.cpp index ac0b4cca..4456d039 100644 --- a/src/api/masterlist.cpp +++ b/src/api/masterlist.cpp @@ -107,10 +107,6 @@ bool Masterlist::Update(const std::filesystem::path& path, if (path.empty() || repoUrl.empty() || repoBranch.empty()) throw std::invalid_argument("Repository path, URL and branch must not be empty."); - if (logger) { - logger->debug("Setting up checkout options."); - logger->debug("Using remote URL {} and branch {}", repoUrl, repoBranch); - } git.InitialiseOptions(repoBranch, filename); // Now try to access the repository if it exists, or clone one if it doesn't.