1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

38151: _git: fix tag name of remote branches

This commit is contained in:
m0viefreak 2016-03-13 23:01:58 +01:00 committed by Daniel Shahaf
parent 666a7f5845
commit a1f45b3346
2 changed files with 4 additions and 1 deletions

View file

@ -457,7 +457,7 @@ _git-checkout () {
if (( CURRENT == 1 )) && [[ -z $opt_args[(I)--] ]]; then
# TODO: Allow A...B
local branch_arg='' \
remote_branch_noprefix_arg='remote branches::__git_remote_branch_names_noprefix' \
remote_branch_noprefix_arg='remote-branch-names-noprefix::__git_remote_branch_names_noprefix' \
tree_ish_arg='tree-ishs::__git_tree_ishs' \
file_arg='modified-files::__git_modified_files'