summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRubén Justo <rjusto@gmail.com>2024-03-02 16:51:08 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-03 14:21:38 -0800
commit3fec482b5f7f2f13c7465cf79062440a84233d14 (patch)
tree7d2afc6f9f98a324dc209b4bca866203ef6c273a /commit.c
parentc689c38bc2dceac3f8fe975472f12c0dbe473537 (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 'commit.c')
0 files changed, 0 insertions, 0 deletions