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

Re: [PATCH] contrib/completion: fix remote completion for "git push/remote"

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 30, 2021, 03:12 UTC
Message-ID
<CAPig+cTOFySGeUKM2oa9nHmkGVaWUbq8ghcid0hHxxSbV6jAjg@mail.gmail.com>
In-Reply-To
<20210530024928.24158-1-davvid@gmail.com>
On Sat, May 29, 2021 at 10:49 PM David Aguilar <davvid@gmail.com> wrote:
> If __git_cmd_idx is empty then zsh will silelntly fail to
> complete remotes when doing "git push <tab>".
s/silelntly/silently/
Show 8 quoted lines
> Ensure that __git_cmd_idx is non-empty before using it in
> __git_complete_remote_or_refspec.
>
> This was tested on zsh 5.7.1 (x86_64-apple-darwin19.0).
> Other versions of zsh, eg. zsh 5.0.2 (x86_64-redhat-linux-gnu),
> do not exhibit this behavior.
>
> Signed-off-by: David Aguilar <davvid@gmail.com>
Previous: David AguilarNext: David Aguilar
Message 2 of 3 in “contrib/completion: fix remote completion for "git push/remote"”
  1. contrib/completion: fix remote completion for "git push/remote"David Aguilar, May 30, 2021
  2. Eric SunshineMay 30, 2021
  3. David AguilarMay 30, 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.