Skip to content

Commit

Permalink
git-completion: Add git help completion for aliases
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakob Pfender authored and Junio C Hamano committed Mar 22, 2011
1 parent a91df69 commit f85a6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f85a6f0

Please sign in to comment.