Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added missing subcommands for hotfix #25

Merged
merged 1 commit into from

2 participants

@gucki

Added support for publish and track subcommands for hotfix

@gucki gucki Added missing subcommands for hotfix
Added support for publish and track subcommands for hotfix
54564f4
@bobthecow
Owner

Thanks!

@bobthecow bobthecow merged commit b534b87 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 14, 2012
  1. @gucki

    Added missing subcommands for hotfix

    gucki authored
    Added support for publish and track subcommands for hotfix
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 1 deletion.
  1. +9 −1 git-flow-completion.bash
View
10 git-flow-completion.bash
@@ -154,7 +154,7 @@ __git_flow_release ()
__git_flow_hotfix ()
{
- local subcommands="list start finish help"
+ local subcommands="list start finish track publish help"
local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then
__gitcomp "$subcommands"
@@ -166,6 +166,14 @@ __git_flow_hotfix ()
__gitcomp "$(__git_flow_list_branches 'hotfix')"
return
;;
+ publish)
+ __gitcomp "$(comm -23 <(__git_flow_list_branches 'hotfix') <(__git_flow_list_remote_branches 'hotfix'))"
+ return
+ ;;
+ track)
+ __gitcomp "$(comm -23 <(__git_flow_list_remote_branches 'hotfix') <(__git_flow_list_branches 'hotfix'))"
+ return
+ ;;
*)
COMPREPLY=()
;;
Something went wrong with that request. Please try again.