Browse Source

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
Jakob Pfender 14 years ago committed by Junio C Hamano
parent
commit
f85a6f0bbb
  1. 2
      contrib/completion/git-completion.bash

2
contrib/completion/git-completion.bash

@ -1508,7 +1508,7 @@ _git_help () @@ -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

Loading…
Cancel
Save