From 6f5a23ccd2eb12b26397d46f2bf60e3ca2c62ef9 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 30 Apr 2022 19:12:30 +0200 Subject: [PATCH] ignore errors of git fetch --tag as this fails on a case-insensitive filesystem like my macos fs (thanks to our IT guys) --- module-tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-tools.py b/module-tools.py index e9f30965..85e4e3e8 100755 --- a/module-tools.py +++ b/module-tools.py @@ -199,7 +199,7 @@ class GitRepository: self.__run_command_in_repo("git checkout {}".format(branch)) else: self.to_branch(branch, remote=True) - self.__run_command_in_repo("git fetch origin --tags") + self.__run_command_in_repo("git fetch origin --tags", ignore_errors=True) self.__run_command_in_repo("git fetch origin") if not self.__is_commit_id(branch): # we don't need to merge anything for commit ids. -- 2.43.0