Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _git (large)



Found another issue, with fix
There is a reference to __git_tag_ids on line 2677 but i'm not sure
what it's supposed to do exactly.

(( $+functions[__git_tag_ids] )) ||
__git_tag_ids () {
}

It should possibly just be removed?

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 62b2361..d98498b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1833,7 +1833,7 @@ __git_zstyle_default
':completion::complete:git-status:argument-rest:*' ignore-l
 (( $+functions[_git-verify-tag] )) ||
 _git-verify-tag () {
   _arguments \
-    ':tag:__git_tag_ids' && ret=0
+    ':tag:__git_tags' && ret=0
 }

 # TODO: This should take those arguments that git-diff-tree can take, as well.


-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author