git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] completion: trivial fix for zsh

From
Junio C Hamano <gitster@pobox.com>
Date
May 21, 2013, 16:28 UTC
Message-ID
<7vbo84qouo.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAMP44s04oKBtjnF-+5hjPM+-krZA=m-4=Mb=vzU65GsTNhR3vA@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 11 quoted lines
> On Mon, May 20, 2013 at 7:33 PM, Felipe Contreras
> <felipe.contreras@gmail.com> wrote:
>> zsh completion wrapper doesn't reimplement __gitcompadd(). Although it
>> should be trivial to do that, let's use __gitcomp_nl() which achieves
>> exactly the same thing, specially since the suffix ($4) has to be empty.
>>
>> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
>
> This is probably v1.8.3 material, I just noticed it's probably a
> regression introduced by 1ce23aa (completion: add new __gitcompadd
> helper).

Great. That is not in v1.8.2.X, but was already in v1.8.3-rc0, so we would need to do something about it.

I am not very happy about the latter "probably", though. If it is a regression, at this late in the cycle, it is often safer to revert the original.

Will apply directly to 'master'.  Thanks.
Previous: Felipe Contreras
Message 3 of 3 in “completion: trivial fix for zsh”
  1. completion: trivial fix for zshFelipe Contreras, May 21, 2013
  2. Felipe ContrerasMay 21, 2013
  3. Junio C HamanoMay 21, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.