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

Add bugfix branching support #45

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

rudineirk
Copy link

petervanderdoes/gitflow-avh added bugfix branching support, it should work like a feature branch, but only for bugs

@bobthecow
Copy link
Owner

I'm not opposed to adding completion specifically for gitflow-avh, but I'd prefer it to be conditional on the version of gitflow the user has installed. Any ideas on how to do that so non-avh users don't get spurious completions?

@petervanderdoes
Copy link

petervanderdoes commented Apr 16, 2016

Besides bugfix there are also options within existing commands that are available in petervanderdoes/gitflow-avh and not in the nvie version. So the basic solution would be to split the completions up.
I don't see a big problem in that as the original gitflow doesn't seem to change anymore.

I do understand this is easier said than done.

One option to check for the AVH version would be running git flow version and checking for the string AVH.

In POSIX shell this would be:

#!/bin/sh
VERSION=`git flow version`
case "$VERSION" in
  *AVH*) isAVH="yes" ;;
  *)     isAVH="no" ;;
esac

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

Successfully merging this pull request may close these issues.

3 participants