Usage of positional parameters requires to eval ${FLAGS_ARGV} #232

Open
wants to merge 1 commit into
from

Projects

None yet

1 participant

@baby-gnu
baby-gnu commented Jul 8, 2012

The "eval set" in function call does not propagate to the caller.

The following does not works:

git flow feature start -F great-thing nvie/develop
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'great-thing' which can not be resolved as commit?
Could not create feature branch 'feature/great-thing'

With my patch:

git flow feature start -F great-thing nvie/develop
Branch feature/great-thing set up to track remote branch develop from nvie.
Switched to a new branch 'feature/great-thing'

Summary of actions:
- A new branch 'feature/great-thing' was created, based on 'nvie/develop'
- You are now on branch 'feature/great-thing'

Now, start committing on your feature. When done, use:

     git flow feature finish great-thing
Daniel Dehennin Usage of positional parameters requires to eval ${FLAGS_ARGV}
The "eval set" in function call does not propagate to the caller.

* git-flow-feature (cmd_start): Eval ${FLAGS_ARGV} as positional
  parameters.

* git-flow-hotfix (cmd_start): Ditoo.

* git-flow-release (cmd_start): Ditoo
0e4c831
@baby-gnu

It's already fixed in Peter van der Does fork with several other improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment