Commit 6b9d408d authored by Ben Gamari's avatar Ben Gamari 🐢

submod-release-summary: Fix it

parent 1358378d
......@@ -54,9 +54,10 @@ def list_submodules(repo: Path) -> List[Tuple[Path, str, str]]:
parts = line.split()
if len(parts) == 0:
continue
path = parts[1]
sha = parts[2]
rev = git_describe(repo, sha)
path = parts[0]
sha = parts[1]
rev = git_describe(path, sha)
result.append((path, sha, rev))
return result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment