projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91df69
)
git-completion: Add git help completion for aliases
author
Jakob Pfender
<jpfender@elegosoft.com>
Mon, 21 Mar 2011 09:25:06 +0000
(10:25 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Mar 2011 07:44:47 +0000
(
00:44
-0700)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index ccdc172a06bcc55ff5c5c3c1854bb34f84910f90..d2b8746633bdba57b2bfdd137435d9ba95e68e3e 100755
(executable)
--- 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