Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to reinitialize workspace #28

Closed
trivoallan opened this issue Jul 5, 2010 · 6 comments
Closed

Impossible to reinitialize workspace #28

trivoallan opened this issue Jul 5, 2010 · 6 comments
Labels

Comments

@trivoallan
Copy link

Using Ubuntu 10.04 and code from develop branch (4de01f2)

$ git flow init -f
flags:WARN getopt: option invalide -- 'f'
 -- 'init'
flags:FATAL unable to parse provided options with getopt.
@ghost
Copy link

ghost commented Jul 5, 2010

This is a known issue with shFlags on Ubuntu's getopt. Will have to see whether the shFlags project can pick this up, or whether we could provide a patch for the shFlags repo ourselves.

A workaround for now is to run the following commands:

git config --unset gitflow.branch.master
git config --unset gitflow.branch.develop
git config --unset gitflow.prefix.feature
git config --unset gitflow.prefix.release
git config --unset gitflow.prefix.hotfix
git config --unset gitflow.prefix.support
git config --unset gitflow.prefix.versiontag

Then call git flow init without the -f option.

@trivoallan
Copy link
Author

Ok. Thanks for the workaround. is there a place where i can vote for resolution of the upstream bug ?

@ghost
Copy link

ghost commented Jul 5, 2010

I've only recently tested gitflow on Ubuntu, so it's fairly fresh. Haven't had the time to figure out how to translate this exactly to a bug report on shFlags. Help is appreciated with this one.

@nvie
Copy link
Owner

nvie commented Jul 11, 2010

Decided not to invest in shFlags. Will do a complete reimplementation of gitflow in Python soon (http://github.com/nvie/gitflow/issues#issue/33), which won't suffer from the command line platform difficulties.

@nvie
Copy link
Owner

nvie commented Oct 18, 2010

Fixed in e1ec57d and confirmed on Ubuntu!

@vdelau
Copy link

vdelau commented Oct 19, 2010

Can confirm this fixed on Debian as well. (was broken in 0.4-dev)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants