1b91c84d2b49f00b64e5b6048678c5d4f26cd971

Author
Benjamin Teuber <bsteuber@gmail.com>
Committer
Benjamin Teuber <bsteuber@gmail.com>
Date

Message

use feature names instead of failing branch names in "git flow feature"

Diff

 1diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh
 2index 4afb85b8b98523aa7ca56282607f144f7b4b56c4..ec21019e65c24ad21351dba73044952f687434e8 100644
 3--- a/plugins/git-flow/git-flow.plugin.zsh
 4+++ b/plugins/git-flow/git-flow.plugin.zsh
 5@@ -237,13 +237,13 @@ __git-flow-feature ()
 6 
 7 				(diff)
 8 					_arguments \
 9-						':branch:__git_branch_names'\
10+						':branch:__git_flow_feature_list'\
11 				;;
12 
13 				(rebase)
14 					_arguments \
15 						-i'[Do an interactive rebase]' \
16-						':branch:__git_branch_names'
17+						':branch:__git_flow_feature_list'
18 				;;
19 
20 				(checkout)
21@@ -254,7 +254,7 @@ __git-flow-feature ()
22 				(pull)
23 					_arguments \
24 						':remote:__git_remotes'\
25-						':branch:__git_branch_names'
26+						':branch:__git_flow_feature_list'
27 				;;
28 
29 				*)
30@@ -334,4 +334,4 @@ __git_command_successful () {
31 	return 0
32 }
33 
34-zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'
35+zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'