Merged in bugfix/command-init-merge-errors (pull request #38)

bugfix: command init merge errors

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-11-28 18:48:15 +00:00
committed by jt
3 changed files with 10 additions and 5 deletions
+8 -3
View File
@@ -1,6 +1,11 @@
# Bitbucket token
.repository-token
**/__pycache__/
build/
**/*.egg-info/
# Virtual environment
venv/
# Build folders and artifacts
dist/
build/
**/__pycache__/
**/*.egg-info/
+1 -1
View File
@@ -170,7 +170,7 @@ class Command(ABC):
def get_branch_env_and_type(self, branch: str) -> tuple[str, str]:
components = branch.split("/")
target_branches = self.flowconfig["flow.branches"].split(" ")
target_branches = self.flowconfig["flow.branches"].split(",")
if len(components) == 2:
if components[0] not in BRANCH_TYPES:
+1 -1
View File
@@ -38,7 +38,7 @@ class Git:
@staticmethod
def set_config(config: dict[str, str], file: str | None = None):
for key, value in config:
for key, value in config.items():
Git("config", key, value, file=file).exec()
@staticmethod