From 09238e19a147ced8b9eb481385c30f01d03a1c51 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 1 May 2020 15:37:06 +0200 Subject: GitArtifact: alos force fetch the bare repo --- src/artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/artifact.py') diff --git a/src/artifact.py b/src/artifact.py index 4b4454d..ecedbe9 100644 --- a/src/artifact.py +++ b/src/artifact.py @@ -90,7 +90,7 @@ class GitArtifact(Artifact): # update repo print_status(f'Updating git repository "{self.name}" ...') try: - run_cmd(["git", "fetch"], output_verbosity=1, cwd=self.repo) + run_cmd(["git", "fetch", "--force"], output_verbosity=1, cwd=self.repo) except CalledProcessError: print_error(f"Failed to update {self.name}") raise -- cgit v1.2.3