summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@elegosoft.com>2011-03-21 10:25:06 +0100
committerJunio C Hamano <gitster@pobox.com>2011-03-22 00:44:47 -0700
commitf85a6f0bbba92f4a671189fec8fec3af773736ca (patch)
treeb228734d2b872bfa802c89e48ed54fab61de4288 /contrib
parenta91df69cbb5ced7837525106ff57ff349180770b (diff)
downloadgit-f85a6f0bbba92f4a671189fec8fec3af773736ca.tar.gz
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index ccdc172a06..d2b8746633 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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