From 40493cfab694415662fdec60115cb3ea9cfc2a94 Mon Sep 17 00:00:00 2001 From: Adam Rodger Date: Tue, 6 Nov 2018 19:45:33 +0000 Subject: [PATCH] Allow multiple release branches in the same way multiple hotfixes are allowed --- git-flow-release | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git-flow-release b/git-flow-release index e9c542da..7b0f4f93 100644 --- a/git-flow-release +++ b/git-flow-release @@ -565,7 +565,9 @@ v,verbose! Verbose (more) output require_base_is_local_branch "$base" gitflow_require_version_arg - require_no_existing_release_branches + if ! $(git config --bool --get gitflow.multi-release 2>&1); then + require_no_existing_release_branches + fi # Sanity checks git_config_bool_exists "gitflow.allowdirty" || require_clean_working_tree