]> git.ipfire.org Git - thirdparty/git.git/commit - contrib/completion/git-completion.bash
Automatically autoload bashcompinit for ZSH, when needed
authorMarius Storm-Olsen <marius@storm-olsen.com>
Wed, 27 Apr 2011 03:23:35 +0000 (22:23 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Apr 2011 17:48:20 +0000 (10:48 -0700)
commitb5a49471f0a0b243468b09db349968e9a27b7334
tree63aae65626864e33e2c4f54d1b6dd984255df694
parentec014eac0e9e6f30cbbca616090fa2ecf74797e7
Automatically autoload bashcompinit for ZSH, when needed

If bashcompinit has not already been autoloaded, do so
automatically, as it is required to properly parse the
git-completion file with ZSH.

Helped-by: Felipe Contreras
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash