Skip to content

Commit cb2c4a6

Browse files
authored
Fix library update for git
1 parent 6b794fb commit cb2c4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fusesoc/provider/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ def init_library(library):
3838

3939
@staticmethod
4040
def update_library(library):
41-
git_args = ["-C", library.location, "pull"]
41+
git_args = ["-C", library.location, "fetch", "--all"]
4242
try:
43-
Git._checkout_library_version(library)
4443
Launcher("git", git_args).run()
44+
Git._checkout_library_version(library)
4545
except subprocess.CalledProcessError as e:
4646
raise RuntimeError(str(e))
4747

0 commit comments

Comments
 (0)