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

Re: git push bash completion

From
Jay Soffian <jaysoffian@gmail.com>
Date
Mar 6, 2009, 01:57 UTC
Message-ID
<76718490903051757j37511e2eq7f2bae26c1576f76@mail.gmail.com>
In-Reply-To
<200903060015.39834.markus.heidelberg@web.de>

On Thu, Mar 5, 2009 at 6:15 PM, Markus Heidelberg <markus.heidelberg@web.de> wrote:

Show 5 quoted lines
> Something similar happens with fetch and pull. They only complete the
> remote name, when exactly 2 words are existing on the command line
> ("git" and the subcommand) by: if [ "$COMP_CWORD" = 2 ]
>
> Doesn't seem right.
I'm working on a fix. I hope to have it out tonight for review.
j.
Previous: Markus Heidelberg
Message 3 of 3 in “git push bash completion”
  1. Sverre RabbelierMar 5, 2009
  2. Markus HeidelbergMar 5, 2009
  3. Jay SoffianMar 6, 2009

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.