From cb2c4a6583aaff296cef5ee21c253d035d07a36b Mon Sep 17 00:00:00 2001 From: Rajan Patel Date: Mon, 24 Jun 2024 15:02:19 -0400 Subject: [PATCH] Fix library update for git --- fusesoc/provider/git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fusesoc/provider/git.py b/fusesoc/provider/git.py index 3b03465b..738f364c 100644 --- a/fusesoc/provider/git.py +++ b/fusesoc/provider/git.py @@ -38,10 +38,10 @@ def init_library(library): @staticmethod def update_library(library): - git_args = ["-C", library.location, "pull"] + git_args = ["-C", library.location, "fetch", "--all"] try: - Git._checkout_library_version(library) Launcher("git", git_args).run() + Git._checkout_library_version(library) except subprocess.CalledProcessError as e: raise RuntimeError(str(e))