From 49cad31d10e6a3d4539c171205254e1ced443e33 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 26 Mar 2025 18:12:06 +0000 Subject: [PATCH] ci/update-repos: always pass the latest URL Instead of assuming that the repository was created with the latest URL, fetch the repository explicitly when fetching. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- ci/update-repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/update-repos b/ci/update-repos index ef69ee45..c44246cc 100755 --- a/ci/update-repos +++ b/ci/update-repos @@ -44,7 +44,7 @@ if __name__ == "__main__": if repodir.exists(): try: print("Updating %s..." % repo) - subprocess.run(["git", "-C", repodir, "-c", "gc.autoDetach=false", "fetch"], check=True) + subprocess.run(["git", "-C", repodir, "-c", "gc.autoDetach=false", "fetch", repo], check=True) except subprocess.CalledProcessError as e: print(e) failed = True