From 4ce3413cdfb3517d18d6498324297ba032f1ee5b Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 23 Sep 2024 06:52:49 +0200 Subject: [PATCH] Update build-all.py - fetch before checkout --- nix/build-all.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/build-all.py b/nix/build-all.py index a4b43935b7..211a03472d 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -351,6 +351,7 @@ def git_clone_or_pull_repository(clone_url, target_dir, revision=None): run([git, "pull", clone_url], cwd=target_dir) if revision != None: + run([git, "fetch", "--all"], cwd=target_dir) run([git, "checkout", revision], cwd=target_dir)