aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorRubén Justo <rjusto@gmail.com>2024-03-02 16:52:03 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-03 14:21:39 -0800
commit476a236e72d7ad0d2a5237faeaa439b1054e80a5 (patch)
treed51282770671d50ff6746087f8f4b14edb8679f9 /diff.c
parentcompletion: introduce __git_find_subcommand (diff)
downloadgit-476a236e72d7ad0d2a5237faeaa439b1054e80a5.tar.gz
git-476a236e72d7ad0d2a5237faeaa439b1054e80a5.zip
completion: factor out __git_resolve_builtins
We're going to use the result of "git xxx --git-completion-helper" not only for feeding COMPREPLY. Therefore, factor out the execution and the caching of its results in __gitcomp_builtin, to a new function __git_resolve_builtins. While we're here, move an important comment we have in the function to its header, so it gains visibility. 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