Skip to content

Commit

Permalink
Fix library update for git
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 committed Dec 15, 2024
1 parent b545364 commit 827f001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fusesoc/provider/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 827f001

Please sign in to comment.