From: Vincent Mailhol Date: Thu, 13 Aug 2026 19:05:02 GMT Subject: [PATCH v3 1/4] completion: add 'git history' subcommands Message-ID: <20260813-history_autocompletion-v3-1-69eed1cea93a@kernel.org> In-Reply-To: <20260813-history_autocompletion-v3-0-69eed1cea93a@kernel.org> 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 --- Changes in v3: - Ignore the split "