gitflow
gitflow copied to clipboard
Unsupervised release finish (automatic merge messages)
Currently release finish, while accepting a message for the tag, will still bring up $EDITOR for the merge into master and develop respectively. This makes it a hassle to release finish in a build script. Since I don't think there's a need for custom messages here (in fact I'd discourage them), I simply added a fixed message in each case.
Instead of this patch you can just set an environment variable:
export GIT_MERGE_AUTOEDIT=no
No editor will be brought up on merging.
I'm aware of this, but think it should be enforced inside git flow...
You could add the export of the variable in git-flow and your are all set, for example after https://github.com/nvie/gitflow/blob/develop/git-flow#L41 you can add export GIT_MERGE_AUTOEDIT=no
and it's enforced in git-flow.
In my fork, git-flow (AVH Edition), you can set this in a file that will be imported by git-flow (see petervanderdoes/gitflow/issues/39)
Note Any updates made to git-flow (AVH Edition) are almost impossible to make into easy pull requests for the original git-flow. The source code of the fork has diverged to much to make this an easy process and therefor we won't.
Also need this feature