Code

bash completion: Add completion for 'git help'
authorLee Marlow <lee.marlow@gmail.com>
Thu, 24 Jul 2008 00:07:23 +0000 (18:07 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jul 2008 21:14:01 +0000 (14:14 -0700)
commit1eb7e2f83472f49fda62cefe1d2d9b4c668c6771
treec53e65a72e7f531565a1b99e55c5b630b7e1b73a
parent6bb9e51b8ef2f397f9f44cfaeaa120ca0cc741e6
bash completion: Add completion for 'git help'

Rename cached __git_commandlist to __git_porcelain_commandlist and
add __git_all_commandlist that only filters out *--* helpers.

Completions for 'git help' will use the __git_all_commandlist, while
the __git_porcelain_commandlist is used for git command completion.

Users who actually read man pages may want to see help for plumbing
commands.

Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash