Skip to content

Commit 18fdb0d

Browse files
committed
don't print an error when git fails due to being on a tag or commit
1 parent b545364 commit 18fdb0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fusesoc/provider/git.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def update_library(library):
4444
Launcher("git", git_args).run()
4545
except subprocess.CalledProcessError as e:
4646
raise RuntimeError(str(e))
47+
except RuntimeError as e:
48+
pass
4749

4850
def _checkout(self, local_dir):
4951
version = self.config.get("version", None)

0 commit comments

Comments
 (0)