git-commit-vandalism/contrib/completion
Matthieu Moy 926eb7ba4c git-completion.zsh: define __gitcomp_file compatibility function
Commit fea16b47b6 (Fri Jan 11 19:48:43 2013, Manlio Perillo,
git-completion.bash: add support for path completion), introduced a new
__gitcomp_file function that uses the bash builtin "compgen". The
function was redefined for ZSH in the deprecated section of
git-completion.bash, but not in the new git-completion.zsh script.

As a result, users of git-completion.zsh trying to complete "git add
fo<tab>" get an error:

git add fo__gitcomp_file:8: command not found: compgen

This patch adds the redefinition and removes the error.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-03-05 08:54:03 -08:00
..
git-completion.bash git-completion.bash: add support for path completion 2013-01-11 13:22:15 -08:00
git-completion.tcsh Add file completion to tcsh git completion. 2012-12-11 21:49:25 -08:00
git-completion.zsh git-completion.zsh: define __gitcomp_file compatibility function 2013-03-05 08:54:03 -08:00
git-prompt.sh Merge branch 'so/prompt-command' 2012-12-12 11:08:13 -08:00