git-flow-completion icon indicating copy to clipboard operation
git-flow-completion copied to clipboard

Add bugfix branching support

Open rudineirk opened this issue 8 years ago • 2 comments

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

rudineirk avatar Mar 29 '16 11:03 rudineirk

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?

bobthecow avatar Apr 06 '16 12:04 bobthecow

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

petervanderdoes avatar Apr 16 '16 20:04 petervanderdoes