{"action":"created","issue":{"url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/45","repository_url":"https://api.github.com/repos/bobthecow/git-flow-completion","labels_url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/45/comments","events_url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/45/events","html_url":"https://github.com/bobthecow/git-flow-completion/pull/45","id":144239699,"number":45,"title":"Add bugfix branching support","user":{"login":"rudineirk","id":5260987,"avatar_url":"https://avatars.githubusercontent.com/u/5260987?v=3","gravatar_id":"","url":"https://api.github.com/users/rudineirk","html_url":"https://github.com/rudineirk","followers_url":"https://api.github.com/users/rudineirk/followers","following_url":"https://api.github.com/users/rudineirk/following{/other_user}","gists_url":"https://api.github.com/users/rudineirk/gists{/gist_id}","starred_url":"https://api.github.com/users/rudineirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudineirk/subscriptions","organizations_url":"https://api.github.com/users/rudineirk/orgs","repos_url":"https://api.github.com/users/rudineirk/repos","events_url":"https://api.github.com/users/rudineirk/events{/privacy}","received_events_url":"https://api.github.com/users/rudineirk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-29T11:54:02Z","updated_at":"2016-04-16T20:45:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bobthecow/git-flow-completion/pulls/45","html_url":"https://github.com/bobthecow/git-flow-completion/pull/45","diff_url":"https://github.com/bobthecow/git-flow-completion/pull/45.diff","patch_url":"https://github.com/bobthecow/git-flow-completion/pull/45.patch"},"body":"[petervanderdoes/gitflow-avh](https://github.com/petervanderdoes/gitflow-avh) added bugfix branching support, it should work like a feature branch, but only for bugs"},"comment":{"url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/comments/210897915","html_url":"https://github.com/bobthecow/git-flow-completion/pull/45#issuecomment-210897915","issue_url":"https://api.github.com/repos/bobthecow/git-flow-completion/issues/45","id":210897915,"user":{"login":"petervanderdoes","id":380071,"avatar_url":"https://avatars.githubusercontent.com/u/380071?v=3","gravatar_id":"","url":"https://api.github.com/users/petervanderdoes","html_url":"https://github.com/petervanderdoes","followers_url":"https://api.github.com/users/petervanderdoes/followers","following_url":"https://api.github.com/users/petervanderdoes/following{/other_user}","gists_url":"https://api.github.com/users/petervanderdoes/gists{/gist_id}","starred_url":"https://api.github.com/users/petervanderdoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervanderdoes/subscriptions","organizations_url":"https://api.github.com/users/petervanderdoes/orgs","repos_url":"https://api.github.com/users/petervanderdoes/repos","events_url":"https://api.github.com/users/petervanderdoes/events{/privacy}","received_events_url":"https://api.github.com/users/petervanderdoes/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T20:45:34Z","updated_at":"2016-04-16T20:45:34Z","body":"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.\r\nI don't see a big problem in that as the original gitflow doesn't seem to change anymore.\r\n\r\nI do understand this is easier said than done.\r\n\r\nOne option to check for the AVH version would be running `git flow version` and checking for the string AVH.\r\n\r\nIn POSIX shell this would be:\r\n```\r\n#!/bin/sh\r\nVERSION=`git flow version`\r\ncase \"$VERSION\" in\r\n  *AVH*) isAVH=\"yes\" ;;\r\n  *)     isAVH=\"no\" ;;\r\nesac\r\n\r\n```"}}