git-completion: Add git help completion for aliases

Enable bash completion for "git help <alias>", analogous to "git
<alias>", which was already implemented.

Signed-off-by: Jakob Pfender <jpfender@elegosoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jakob Pfender 2011-03-21 10:25:06 +01:00 committed by Junio C Hamano
parent a91df69cbb
commit f85a6f0bbb

View File

@ -1508,7 +1508,7 @@ _git_help ()
;;
esac
__git_compute_all_commands
__gitcomp "$__git_all_commands
__gitcomp "$__git_all_commands $(__git_aliases)
attributes cli core-tutorial cvs-migration
diffcore gitk glossary hooks ignore modules
repository-layout tutorial tutorial-2