git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Bash-completion missing option merge-base
@ 2020-01-17 13:29 Ondrej Pohorelsky
  2020-01-17 13:42 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Pohorelsky @ 2020-01-17 13:29 UTC (permalink / raw)
  To: git

Hi,

I'm a new maintainer of git in RHEL. We have encountered a bug where
merge-base is missing in bash completion. [1]

First I applied a patch[2], that should fix this problem, into
git-1.8.3.1 we are using in RHEL 7.7 and I discovered that completion
is still missing.

Then I tried to reproduce this bug in the newest version of git and
completion is still missing.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1288506
[2] https://marc.info/?l=git&m=138945079300929&w=4

Best regards,
Ondřej Pohořelský


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bash-completion missing option merge-base
  2020-01-17 13:29 Bash-completion missing option merge-base Ondrej Pohorelsky
@ 2020-01-17 13:42 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2020-01-17 13:42 UTC (permalink / raw)
  To: Ondrej Pohorelsky; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-17 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 13:29 Bash-completion missing option merge-base Ondrej Pohorelsky
2020-01-17 13:42 ` Johannes Schindelin

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).