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 authored Jun 24, 2024
1 parent 6b794fb commit cb2c4a6
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 cb2c4a6

Please sign in to comment.