From ebd4c32690864442a744f0c227a2a1fefecba2d6 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 25 May 2021 17:43:26 +0800 Subject: [PATCH] optimize: avoid to open editor for commit message when finish release/hotfix branches --- src/Commands/GitFlow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/GitFlow.cs b/src/Commands/GitFlow.cs index 708bb900..7acdb011 100644 --- a/src/Commands/GitFlow.cs +++ b/src/Commands/GitFlow.cs @@ -57,10 +57,10 @@ namespace SourceGit.Commands { Args = $"flow feature finish {option} {name}"; break; case Models.GitFlowBranchType.Release: - Args = $"flow release finish {option} {name}"; + Args = $"flow release finish {option} {name} -m \"RELEASE_DONE\""; break; case Models.GitFlowBranchType.Hotfix: - Args = $"flow hotfix finish {option} {name}"; + Args = $"flow hotfix finish {option} {name} -m \"HOTFIX_DONE\""; break; default: return;