Skip to content

Commit ff7b83f

Browse files
tiwaigitster
authored andcommitted
completion: tcsh: Fix regression by drop of wrapper functions
The cleanup of old compat wrappers in bash completion caused a regression on tcsh completion that still uses them. Let's update the tcsh call site as well for addressing it. Fixes: 441ecda ("completion: bash: remove old compat wrappers") Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 71ca53e commit ff7b83f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/completion/git-completion.tcsh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ else
8080
COMP_CWORD=\$((\${#COMP_WORDS[@]}-1))
8181
fi
8282
83-
# Call _git() or _gitk() of the bash script, based on the first argument
84-
_\${1}
83+
# Call __git_wrap__git_main() or __git_wrap__gitk_main() of the bash script,
84+
# based on the first argument
85+
__git_wrap__\${1}_main
8586
8687
IFS=\$'\n'
8788
if [ \${#COMPREPLY[*]} -eq 0 ]; then

0 commit comments

Comments
 (0)