1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 11:31:26 +01: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

@ -1,5 +1,8 @@
2016-03-15 m0viefreak <m0viefreak.cm@googlemail.com>
* 38151: Completion/Unix/Command/_git: fix tag name of remote
branches
* 38148: Completion/Unix/Command/_git: reflog: complete
references next to commands

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'