Skip to content
This repository

Plus sign in the feature branch name #148

Open
boryn opened this Issue · 3 comments

4 participants

Michal Borychowski Randy Merrill Pierre-Yves Bertholon Marcos Placona
Michal Borychowski

I had a feature branch named 'feature/google+' and unfortunately none of the git flow command could find it. I got all the time:
Branch 'feature/google+' does not exist and is required.

Problably some problem with grep or sth. Would be worthy to check also some other characters which are allowed in branch names but are not caught by git flow

Regards
Michal

Randy Merrill

Git supports the + so it is specific to gitflow:

git branch 'google+'
Pierre-Yves Bertholon

Same issue. The "+" character doesn't work with gitflow.
git flow release start 1.0+1.1b1 works
git flow release finish 1.0+1.1b1 says Branch 'release/1.0+1.1b1' does not exist and is required.
I have to rename the branch to release/1.0_1.1b1, finish the release, create an other tag with the good name 1.0+1.1b1 and delete the other tag. A bit dispointed ;)

Thanks for your work !

Francois-Xavier Kowalski snowfix referenced this issue from a commit in snowfix/gitflow
Craig Fowler craigfowler Export command fails in 'gitflow_load_settings()'
See petervanderdoes#148 for a full description
of this issue.  In short, the export can fail (either raising an error from the
shell, or silently exporting an incorrect value) if the path to the repo
contains spaces.

It is solved by quoting the value to be exported, preventing the shell
from splitting the result into multiple values (and then trying to parse those
as multiple variable-names & values).

Fixes #148
891341e
Marcos Placona

Have the same problem here. This still doesn't seem to have been fixed. Using @pyby's workaround seems to work, but it's just a bit hacky.

Worth referring to this is if you wanna do it this way though:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.