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

Re: Small patches o git completion



On Fri, Mar 18, 2011 at 10:35:08PM +0100, Nikolai Weibull wrote:
> This patch series fixes some small issues raised on the mailing
> list in regard to the git completion.

Hi,

I found another minor issue:

    git tag -v <Tab>

Does nothing. Without -v it works fine.

This patch seems to fix it though I don't really understand what
it does (copied from -d):

--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1511,7 +1511,9 @@ _git-tag () {
       '-l[list tags matching pattern]:pattern' \
       '--contains=[only list tags which contain the specified commit]: :__git_commits' \
     - verification \
-      '-v[verifies gpg signutare of tags]' && ret=0
+      '-v[verifies gpg signutare of tags]' \
+      '*:: :__git_ignore_line_inside_arguments __git_tags' \
+      && ret=0
 }

 # Ancillary Commands (Manipulators)

Regards,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: pgpdOex8yWWgp.pgp
Description: PGP signature



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