From 5600e5ec8343f7f8d146f784c1bd45ab4fb51179 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Sun, 14 Dec 2025 11:59:42 -0300 Subject: [PATCH] bugfix: listado de ramas para elegir grupo release no devolvia resultados --- src/git_flow/git.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/git_flow/git.py b/src/git_flow/git.py index 1224106..02e9399 100644 --- a/src/git_flow/git.py +++ b/src/git_flow/git.py @@ -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: