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))