//must insert hotfix name
if (hotfixName!=null && !hotfixName.isEmpty()){
new Task.Backgroundable(myProject,"Starting hotfix "+hotfixName,false){
@Override
public void run(@NotNull ProgressIndicator indicator) {
GitCommandResult result = myGitflow.startHotfix(repo, hotfixName, errorLineHandler);
if (result.success()) {
String startedHotfixMessage = String.format("A new hotfix '%s%s' was created, based on '%s'", hotfixPrefix, hotfixName, masterBranch);
NotifyUtil.notifySuccess(myProject, hotfixName, startedHotfixMessage);
}
else {
NotifyUtil.notifyError(myProject, "Error", "Please have a look at the Version Control console for more details");