diff options
| author | Rubén Justo <rjusto@gmail.com> | 2024-03-02 16:51:08 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-03 14:21:38 -0800 |
| commit | 3fec482b5f7f2f13c7465cf79062440a84233d14 (patch) | |
| tree | 7d2afc6f9f98a324dc209b4bca866203ef6c273a /t/unit-tests/t-prio-queue.c | |
| parent | c689c38bc2dceac3f8fe975472f12c0dbe473537 (diff) | |
completion: introduce __git_find_subcommand
Let's have a function to get the current subcommand when completing
commands that follow the syntax:
git <command> <subcommand>
As a convenience, let's allow an optional "default subcommand" to be
returned if none is found.
Signed-off-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-prio-queue.c')
0 files changed, 0 insertions, 0 deletions
