aleksandr-m / gitflow-maven-plugin

The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
https://aleksandr-m.github.io/gitflow-maven-plugin/
Apache License 2.0
490 stars 182 forks source link

Add space after commitMessagePrefix #294

Closed bl4ckh4t3 closed 3 years ago

bl4ckh4t3 commented 3 years ago

Add a space after commitMessagePrefix to have better commit message when prefix is set. This PR is to solve issue #293

aleksandr-m commented 3 years ago

In that way there is no way to remove it.

RastislavGraus commented 3 years ago

I see no argument, why should common prefix for all messages and any concrete message produce single word i.e. not separated by space. And there is always the possibility to duplicate message prefix in all messages together with rest-part of word to increase readability of message. Separate configured prefix make sense only in case, it is semanticaly independent lexical part of message and hence separated by space.

aleksandr-m commented 3 years ago

See https://issues.apache.org/jira/browse/MNG-5380.

You can use xml:space="preserve"

<commitMessagePrefix xml:space="preserve">[GITFLOW] v@{version} </commitMessagePrefix>