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

Re: Bash-completion missing option merge-base

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 17, 2020, 13:42 UTC
Message-ID
<nycvar.QRO.7.76.6.2001171439290.46@tvgsbejvaqbjf.bet>
In-Reply-To
<CA+B51BERnCMJMK5dgo6+=22yr8Upv6RbKPh-Br6fALubVN-D9A@mail.gmail.com>
Hi Ondřej,
On Fri, 17 Jan 2020, Ondrej Pohorelsky wrote:
> We have encountered a bug where merge-base is missing in bash
> completion. [1]

The `merge-base` command is not considered a user-facing command: https://github.com/git/git/blob/v2.25.0/command-list.txt#L120 (the "plumbing" in "plumbinginterrogators" means that this is supposed to be a low-level command, to be used in scripts, but not so much interactively).

Therefore I think that it is intentional that this command does not tab-complete: to declutter the list when typing git<TAB><TAB>.

Ciao, Johannes

Previous: Ondrej Pohorelsky
Message 2 of 2 in “Bash-completion missing option merge-base”
  1. Ondrej PohorelskyJan 17, 2020
  2. Johannes SchindelinJan 17, 2020

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.