From: Felipe Contreras Date: Wed, 28 Oct 2020 02:06:52 +0000 (-0600) Subject: completion: bash: synchronize zsh wrapper X-Git-Tag: v2.30.0-rc0~105^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bed635664c4a60f4b19baff02f487aa4c0cd591e;p=thirdparty%2Fgit.git completion: bash: synchronize zsh wrapper A function was missing. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index ec7dd12a41..40affd40e2 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -3510,6 +3510,14 @@ if [[ -n ${ZSH_VERSION-} ]] && compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0 } + __gitcomp_nl_append () + { + emulate -L zsh + + local IFS=$'\n' + compadd -Q -S "${4- }" -p "${2-}" -- ${=1} && _ret=0 + } + __gitcomp_file_direct () { emulate -L zsh