Please see this line in the git.plugin.zsh file:
compdef _git gdv=git-diff
In the zsh user compdef tutorial, the compdef
for referencing an existing command is explained like this:
compdef cmd1=cmd2
The obvious question: why is _git
needed?