git/contrib/completion
Vincent Mailhol 27be716454 completion: add 'git history' subcommands
Use the parse-options completion helpers for the

  git history

subcommands and their options. All current history subcommands take a
revision as their first positional argument, so complete that argument
as a revision.

Once the revision is present, leave any further positional arguments to
subcommand-specific completion. This allows a subcommand to complete
another kind of argument, such as the pathspec accepted by

  git history split

or another revision if a future subcommand accepts one.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-08-13 12:22:54 -07:00
..
.gitattributes
git-completion.bash completion: add 'git history' subcommands 2026-08-13 12:22:54 -07:00
git-completion.tcsh
git-completion.zsh completion: fix zsh alias listing for subsection aliases 2026-02-19 10:13:20 -08:00
git-prompt.sh git-prompt: support custom 0-width PS1 markers 2024-08-20 08:28:19 -07:00
meson.build contrib/completion: install Bash completion 2025-04-22 08:26:12 -07:00