diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-01 15:37:06 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-01 15:37:06 +0200 |
| commit | 09238e19a147ced8b9eb481385c30f01d03a1c51 (patch) | |
| tree | e3c50911a6ab3a708ac66d45778f8a18a6701da1 | |
| parent | 8a27203f9eaa136801947a6779b61d4e8813772b (diff) | |
| download | allocbench-09238e19a147ced8b9eb481385c30f01d03a1c51.tar.gz allocbench-09238e19a147ced8b9eb481385c30f01d03a1c51.zip | |
GitArtifact: alos force fetch the bare repo
| -rw-r--r-- | src/artifact.py | 2 |
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 |
