Skip to content

Commit

Permalink
Merge pull request #1473 from bsteuber/fix-git-flow-feature-completion
Browse files Browse the repository at this point in the history
use feature names instead of failing branch names in "git flow feature"
  • Loading branch information
robbyrussell committed Dec 9, 2012
2 parents bc7157b + 1b91c84 commit 397c085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/git-flow/git-flow.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ __git-flow-feature ()

(diff)
_arguments \
':branch:__git_branch_names'\
':branch:__git_flow_feature_list'\
;;

(rebase)
_arguments \
-i'[Do an interactive rebase]' \
':branch:__git_branch_names'
':branch:__git_flow_feature_list'
;;

(checkout)
Expand All @@ -254,7 +254,7 @@ __git-flow-feature ()
(pull)
_arguments \
':remote:__git_remotes'\
':branch:__git_branch_names'
':branch:__git_flow_feature_list'
;;

*)
Expand Down Expand Up @@ -334,4 +334,4 @@ __git_command_successful () {
return 0
}

zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'
zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'

0 comments on commit 397c085

Please sign in to comment.