Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions github_scripts/suite_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ def populate_gitbdiff(self) -> None:
self.dependencies[dependency]["gitbdiff"] = GitBDiff(
repo=self.temp_directory / dependency, parent=parent
).files()
else:
self.dependencies[dependency]["gitbdiff"] = []

def populate_gitinfo(self) -> None:
"""
Expand Down
5 changes: 2 additions & 3 deletions github_scripts/suite_report_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ def parse_local_source(self, source: str) -> Tuple[str, str]:
if branch_name and branch_name not in ("main", "stable", "trunk"):
ref = branch_name
else:
ref = (
self.run_command(f"git -C {source} rev-parse HEAD").stdout().strip("\n")
)
result = self.run_command(f"git -C {source} rev-parse HEAD", rval=True)
ref = result.stdout.strip("\n")

remote = self.run_command(f"git -C {source} remote -v", rval=True).stdout.split(
"\n"
Expand Down