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

RE: [PATCH v4] contrib/completion: fix zsh completion regression from 59d85a2a05

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 1, 2021, 23:40 UTC
Message-ID
<60b6c57c3cac1_4044208f@natae.notmuch>
In-Reply-To
<20210601205229.46974-1-davvid@gmail.com>
David Aguilar wrote:
> A recent change to make git-completion.bash use $__git_cmd_idx
> in more places broke a number of completions on zsh because it
> modified __git_main but did not update __git_zsh_main.
You might want to try this in the future to reference previous commits:
  % git show --quiet --format=reference
  59d85a2a05 (git-completion.bash: use $__git_cmd_idx in more places, 2021-04-22)
(one of the aliases I'm missing right now)
  
> Suggested-by: Felipe Contreras <felipe.contreras@gmail.com>
> Signed-off-by: David Aguilar <davvid@gmail.com>

I have not tested this particular version, but I have tested similar changes, and this should work:

Acked-by: Felipe Contreras <felipe.contreras@gmail.com>
-- 
Felipe Contreras
Previous: David AguilarNext: Denton Liu
Message 2 of 3 in “contrib/completion: fix zsh completion regression from 59d85a2a05”
  1. contrib/completion: fix zsh completion regression from 59d85a2a05David Aguilar, Jun 1, 2021
  2. Felipe ContrerasJun 1, 2021
  3. Denton LiuJun 2, 2021

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.