From: Frank Terbeck <ft@bewatermyfriend.org>
To: zsh workers <zsh-workers@sunsite.dk>
Subject: Re: PATCH: Fix a bug in _git's clone completion
Date: Thu, 28 Aug 2008 20:37:07 +0200 [thread overview]
Message-ID: <20080828183707.GF6330@fsst.voodoo.lan> (raw)
In-Reply-To: <237967ef0808281104g1b22c705s662f4f17d8db0b5a@mail.gmail.com>
Mikael Magnusson <mikachu@gmail.com>:
> 2008/8/28 Frank Terbeck <ft@bewatermyfriend.org>:
[...]
> > Finally, I do not understand why the end of the _arguments call was
> > done like this:
> >
> > [snip]
> > ':repository:__git_any_repositories' \-
> > '*:directory:_directories' && ret=0-
> > [snap]
> >
> > ...and not just: '*:repository:__git_any_repositories' && ret 0
> >
> > If someone can explain, please do ahead. :)
>
> This is because
> SYNOPSIS
> git clone ... <repository> [<directory>]
>
> Ie, you can give an optional argument where to clone to. The * is bogus
> though.
Oops, right.
I could swear the completion did something wrong, but I can't
reproduce it anymore. I guess, I missed one zsh-restart when I was
testing. :-)
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
prev parent reply other threads:[~2008-08-28 18:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 16:01 Frank Terbeck
2008-08-28 18:04 ` Mikael Magnusson
2008-08-28 18:37 ` Frank Terbeck [this message]
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=20080828183707.GF6330@fsst.voodoo.lan \
--to=ft@bewatermyfriend.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).