about summary refs log tree commit diff
diff options
context:
space:
mode:
authorm0viefreak <m0viefreak.cm@googlemail.com>2016-03-13 23:01:58 +0100
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-03-15 00:07:18 +0000
commita1f45b3346f2c2d10e51c2a33bd98b1161334c67 (patch)
tree349838edf58df8818bcae5e709898856ca9ad961
parent666a7f5845ee88f4e736a4f0f3921c69314eb15c (diff)
downloadzsh-a1f45b3346f2c2d10e51c2a33bd98b1161334c67.tar.gz
zsh-a1f45b3346f2c2d10e51c2a33bd98b1161334c67.tar.xz
zsh-a1f45b3346f2c2d10e51c2a33bd98b1161334c67.zip
38151: _git: fix tag name of remote branches
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e55cb1ce3..71d8e12a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index ea2d4857a..12410582a 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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'