aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/completion
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-12 13:51:24 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-12 13:51:24 -0700
commit4e408f1060bc677a7d6f17d349f05203ef4b76f3 (patch)
tree816f5a6dc547802fa73205f8e444c5ae597922e2 /contrib/completion
parentc5d1c7028d06670fb8b3e851aa19316a7e2d2a64 (diff)
parentff7b83f5629c0c00910384a0f524d89d3a8bf804 (diff)
downloadgit-4e408f1060bc677a7d6f17d349f05203ef4b76f3.tar.gz
Merge branch 'ti/tcsh-completion-regression-fix' into maint
Update to the command line completion (in contrib/) for tcsh. * ti/tcsh-completion-regression-fix: completion: tcsh: Fix regression by drop of wrapper functions
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.tcsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.tcsh b/contrib/completion/git-completion.tcsh
index 4a790d8f4e..ba797e5b3c 100644
--- a/contrib/completion/git-completion.tcsh
+++ b/contrib/completion/git-completion.tcsh
@@ -80,8 +80,9 @@ else
COMP_CWORD=\$((\${#COMP_WORDS[@]}-1))
fi
-# Call _git() or _gitk() of the bash script, based on the first argument
-_\${1}
+# Call __git_wrap__git_main() or __git_wrap__gitk_main() of the bash script,
+# based on the first argument
+__git_wrap__\${1}_main
IFS=\$'\n'
if [ \${#COMPREPLY[*]} -eq 0 ]; then