aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-05-01 15:37:06 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-05-01 15:37:06 +0200
commit09238e19a147ced8b9eb481385c30f01d03a1c51 (patch)
treee3c50911a6ab3a708ac66d45778f8a18a6701da1
parent8a27203f9eaa136801947a6779b61d4e8813772b (diff)
downloadallocbench-09238e19a147ced8b9eb481385c30f01d03a1c51.tar.gz
allocbench-09238e19a147ced8b9eb481385c30f01d03a1c51.zip
GitArtifact: alos force fetch the bare repo
-rw-r--r--src/artifact.py2
1 files changed, 1 insertions, 1 deletions
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