Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 3/4] Fix git-branch -[dD] -r completion
- X-seq: zsh-workers 29405
- From: Nikolai Weibull <now@xxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: [PATCH 3/4] Fix git-branch -[dD] -r completion
- Date: Sun, 29 May 2011 17:10:59 +0200
- Cc: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QqYdormZ6tq4ffWX1ziIYYiT2X/8ajAsIYI0HgaBHEY=; b=uRG/tGRuu+38vxsNpubRCvC8UOAa4OleLdEVCAFc3lykpcW48AJeC007st7ogCok5P /KnIEl7Vndod6t9l+84te3Hp+zMUBPtbldD7tgg7q8iIBNmGaPq7e+x73gdcmgDbWYjc jY8TKeTwAYhLv5jFCcS1dgqqrWCn73swJuudQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ZqWJGJuwGlHz/0MgpwSF31z6vTGZvel/DyFSf/chThMTlpiVLkvulQisg53VdTNvh+ GJb/4nH/uamDIkK4vBPrgOROIOwzdXr8sevPIrxVwoj1VBxs51g6BPHmTBIbo8/0dpYG wRRP9bvmGFFtQ+t3sUthJab9aSDDvn39DQojs=
- In-reply-to: <alpine.LNX.2.01.1103190918060.22141@hp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1300484112-9392-1-git-send-email-now@bitwi.se> <1300484112-9392-4-git-send-email-now@bitwi.se> <87y64cgj4r.fsf@ft.bewatermyfriend.org> <AANLkTi=N=xdbF41TwVaLAbByYycj_HKTjb3FFhFBb4j5@mail.gmail.com> <alpine.LNX.2.01.1103190918060.22141@hp>
- Sender: nikolai.weibull@xxxxxxxxx
On Sat, Mar 19, 2011 at 14:19, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Sat, 19 Mar 2011, Nikolai Weibull wrote:
>
>> On Fri, Mar 18, 2011 at 23:26, Frank Terbeck wrote:
>>>
>>> Hm, with this patch, this:
>>>
>>> % git branch -d -r <tab>
>>>
>>> works. But this:
>>>
>>> % git -r -d <tab>
>>>
>>> doesn't.
>>>
>>> I suppose, that's not intentional?
>>
>> Well, it depends on what you’re after. Writing -r first hints that you
>> want to list branches, not delete them. If you look at the synopsis in the
>> man page, that’s how I’ve done it. Does anyone have a strong opinion on how
>> this should be done?
>
> It should complete remote branches in both cases, since git accepts remote
> branch(es) to delete in both cases.
OK, this has been fixed in CVS.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author