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>maint
parent
a91df69cbb
commit
f85a6f0bbb
|
@ -1508,7 +1508,7 @@ _git_help ()
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
__git_compute_all_commands
|
__git_compute_all_commands
|
||||||
__gitcomp "$__git_all_commands
|
__gitcomp "$__git_all_commands $(__git_aliases)
|
||||||
attributes cli core-tutorial cvs-migration
|
attributes cli core-tutorial cvs-migration
|
||||||
diffcore gitk glossary hooks ignore modules
|
diffcore gitk glossary hooks ignore modules
|
||||||
repository-layout tutorial tutorial-2
|
repository-layout tutorial tutorial-2
|
||||||
|
|
Loading…
Reference in New Issue