diff options
| author | Vincent Mailhol <mailhol@kernel.org> | 2026-08-13 21:05:02 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-13 12:22:54 -0700 |
| commit | 27be716454cc962b1c790fc845cb2d2f46a078eb (patch) | |
| tree | ff94e510eb1d655694af3f8775dce96d82566026 /t/t4013/diff.diff_initial..side | |
| parent | a97fcc37c2bc6340a8d7ce78dedf227aac4e9aa7 (diff) | |
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>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
