zsh-workers
 help / color / mirror / code / Atom feed
From: Ingmar Vanhassel <ingmar@exherbo.org>
To: Zsh Hackers' List <zsh-workers@sunsite.dk>
Cc: Ingmar Vanhassel <ingmar@exherbo.org>
Subject: [PATCH] Add "git describe --tags" completion. Fix typos.
Date: Thu, 29 Jan 2009 12:21:44 +0000	[thread overview]
Message-ID: <1233231710-1204-3-git-send-email-ingmar@exherbo.org> (raw)
In-Reply-To: <1233231710-1204-2-git-send-email-ingmar@exherbo.org>

---
 Completion/Unix/Command/_git |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 7e6a174..9f758ec 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -769,14 +769,15 @@ _git-cat-file () {
 _git-describe () {
   _arguments \
     '--all[use any ref found in "$GIT_DIR/refs/"]' \
+    '--tags[use any ref found in "$GIT_DIR/refs/tags"]' \
     '(--contains)--tags[use any tag found in "$GIT_DIR/refs/tags/"]' \
     $abbrev_arg \
     '--contains[find the tag after the commit instead of before]' \
-    '--exact-match[only output exact matches, same as --canditates=0]' \
+    '--exact-match[only output exact matches, same as --candidates=0]' \
     '--always[show uniquely abbreviated commit object as fallback]' \
     '--long[always show full format, even for exact matches]' \
     '--match=[only consider tags matching glob pattern]:pattern' \
-    '--candidates=-[consider up to given number of canditates]: :_guard "[[\:digit\:]]##" "number of canditates"' \
+    '--candidates=-[consider up to given number of candidates]: :_guard "[[\:digit\:]]##" "number of candidates"' \
     '--debug[display information about the searching strategy]' \
     '*:committish:__git_committishs' && ret=0
 }
-- 
1.6.0.1


  reply	other threads:[~2009-01-29 12:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 12:21 [PATCH] Updates to git completion Ingmar Vanhassel
2009-01-29 12:21 ` [PATCH] Add "git remote rename" completion Ingmar Vanhassel
2009-01-29 12:21   ` Ingmar Vanhassel [this message]
2009-01-29 12:21     ` [PATCH] Complete "git add --intent-to-add" Ingmar Vanhassel
2009-01-29 12:21       ` [PATCH] "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached Ingmar Vanhassel
2009-01-29 12:21         ` [PATCH] Complete "git clone --verbose" Ingmar Vanhassel
2009-01-29 12:21           ` [PATCH] Complete "git commit --cleanup=" and "git commit --allow-empty" Ingmar Vanhassel
2009-01-29 12:21             ` [PATCH] Update "git rebase" completions Ingmar Vanhassel
2009-01-29 12:21               ` [PATCH] Update "git svn" completion Ingmar Vanhassel
2009-01-29 14:33         ` [PATCH] "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached Richard Hartmann
2009-01-29 14:36 ` [PATCH] Updates to git completion Richard Hartmann
2009-01-29 14:40   ` Mikael Magnusson
2009-01-29 15:07     ` Richard Hartmann
2009-01-29 15:18       ` Nikolai Weibull
2009-02-02 14:48         ` Allan Caffee
2009-02-03 10:44     ` Doug Kearns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1233231710-1204-3-git-send-email-ingmar@exherbo.org \
    --to=ingmar@exherbo.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).