aboutsummaryrefslogtreecommitdiffstats
path: root/diff.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 /diff.c
parentcompletion: reflog show <log-options> (diff)
downloadgit-3fec482b5f7f2f13c7465cf79062440a84233d14.tar.gz
git-3fec482b5f7f2f13c7465cf79062440a84233d14.zip
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 'diff.c')
0 files changed, 0 insertions, 0 deletions