()
| 352 | |
| 353 | |
| 354 | def get_default_branch() -> str: |
| 355 | c = cmd.run(["git", "symbolic-ref", "refs/remotes/origin/HEAD"]) |
| 356 | if c.return_code != 0: |
| 357 | raise GitCommandError(c.err) |
| 358 | return c.out.strip() |
nothing calls this directly
no test coverage detected