Skip to content

Commit

Permalink
Only autocomplete untracked branches for feature/release tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Nov 26, 2010
1 parent c24e250 commit c05e622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-flow-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ __git_flow_feature ()
return
;;
track)
__gitcomp "$(__git_flow_list_remote_branches 'feature')"
__gitcomp "$(comm -23 <(__git_flow_list_remote_branches 'feature') <(__git_flow_list_branches 'feature'))"
return
;;
*)
Expand Down Expand Up @@ -138,7 +138,7 @@ __git_flow_release ()
return
;;
track)
__gitcomp "$(__git_flow_list_remote_branches 'release')"
__gitcomp "$(comm -23 <(__git_flow_list_remote_branches 'release') <(__git_flow_list_branches 'release'))"
return
;;
*)
Expand Down

0 comments on commit c05e622

Please sign in to comment.