Merged in bugfix/release-not-listing-branches (pull request #48)

bugfix: release not listing branches

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-12-14 15:04:39 +00:00
committed by jt
+1 -4
View File
@@ -74,10 +74,7 @@ class Git:
@staticmethod
def _get_references(kind: str):
prefix = "refs/" + kind
return list(map(
lambda r: r.removeprefix(prefix),
Git("for-each-ref", prefix + "*", format="%(refname)").lines(),
))
return Git("for-each-ref", prefix + "**", format="%(refname:short)").lines()
@staticmethod
def is_repository() -> bool: