optimize<GitFlow>: avoid to open editor for commit message when finish release/hotfix branches

This commit is contained in:
leo 2021-05-25 17:43:26 +08:00
parent 4d5e543527
commit ebd4c32690

View file

@ -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;