atom-git-control icon indicating copy to clipboard operation
atom-git-control copied to clipboard

git flow feature finish failed with configured prefixes

Open robs0n opened this issue 8 years ago • 0 comments

Hi,

if you configure git flow to prefix your branches the finish command will fail in atom-git-control. Because git flow expects the name of the feature, not the name of the feature branch.

Example:

.gitconfig:

...
[gitflow "prefix"]
  feature = feature- 
  bugfix = bugfix- 
  release = release- 
  hotfix = hotfix- 
  support = support- 
  versiontag = v 

To start a feature you use the git flow dialog: image

In the console you see:

> git flow feature start test
Switched to a new branch 'feature-test'

If you finish the feature you will get an error: image

> git flow feature finish feature-test
Fatal: Branch 'feature-feature-test' does not exist and is required.

In the dialog you could only choose existing branch names and it is not possible to edit them before submitting.

robs0n avatar Sep 28 '16 14:09 robs0n