Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fix a typo in _git.
- X-seq: zsh-workers 25479
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Fix a typo in _git.
- Date: Mon, 18 Aug 2008 22:10:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YYlf24obh+ABuo108kPAIIemEdOztpLfBCGym7FqQAY=; b=MbAmmSir+9yVAk9u0kiFivH/05/ngL8w1VVPCoUVg6fyY/p68iVhreKqBrl4cD5n02 eWA0jiji4VPhARiiOPvgU0FEyELqVwdhmDo/0T6E1Vo0Y+M94QaVcH62yD0hV6xrJVlM YvFSz3Co05+B30tQvgb6KxBrGOEUjBaOXQQjU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UeRRyWN8K8fxrOJtFrZ08vFxktTzZ5eRUCOYU4z6OH1D+O6hhDhE/ofi/xdLvgjHeK 4qjYKA9+xi3NHxJ4RqfQH69Mn11A7hjxWwUM/GQNwqiLw0NMMElKS7TRvhiFGPrfdhV9 DwrIab5LZRNaAYrmOQDZUOwn7oAUsZ2b0OM4w=
- In-reply-to: <237967ef0808180247l7b0ed485ob72df0a0637c57e9@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0808151656j7787f169g4b3456910e05bfc2@xxxxxxxxxxxxxx> <20080817171321.GA24334@xxxxxxxx> <237967ef0808171027t4773ff36nb1cfe08942b63a5f@xxxxxxxxxxxxxx> <20080818014613.GA30193@xxxxxxxx> <237967ef0808180247l7b0ed485ob72df0a0637c57e9@xxxxxxxxxxxxxx>
2008/8/18 Mikael Magnusson <mikachu@xxxxxxxxx>:
> 2008/8/18 Clint Adams <clint@xxxxxxx>:
>> On Sun, Aug 17, 2008 at 07:27:31PM +0200, Mikael Magnusson wrote:
>>> git branch is a UI command, it's not guaranteed to always indicate the current
>>> branch with a * for example. It also doesn't tell you if a branch is
>>> in refs/heads
>>> or refs/remotes. The completion doesn't differentiate between those yet, but
>>> it definitely should, I don't think I'll be able to fix that though.
>>>
>>> As for _call_program, I don't really know what the purpose of that is. I don't
>>> have a reason for not using it though.
>>
>> _call_program tag string ...
>> This function provides a mechanism for the user to over‐
>> ride the use of an external command. It looks up the
>> command style with the supplied tag. If the style is
>> set, its value is used as the command to execute. The
>> strings from the call to _call_program, or from the
>> style if set, are concatenated with spaces between them
>> and the resulting string is evaluated. The return sta‐
>> tus is the return status of the command called.
>
> Ah, I see.
Now that I actually rebased my stuff on top of latest cvs, and include
_call_program, I notice what I think is the reason I removed it: It
doesn't work. Does it work for you? It's kind of weird, all the other
_call_program in _git work fine, just the three git for-each-ref don't.
And they work fine with the _call_program \S+ removed...
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author