git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-completion: Add git help completion for aliases
@ 2011-03-21  9:25 Jakob Pfender
  2011-03-21 21:48 ` Junio C Hamano
  0 siblings, 1 reply; 19+ messages in thread
From: Jakob Pfender @ 2011-03-21  9:25 UTC (permalink / raw)
  To: git
  Cc: johannes.schindelin, Junio C Hamano, lee.marlow,
	markus.heidelberg, szeder, spearce, bebarino, ted, tlikonen,
	trast

Enable bash completion for "git help <alias>", analogous to "git
<alias>", which was already implemented.

Signed-off-by: Jakob Pfender <jpfender@elegosoft.com>
---
  contrib/completion/git-completion.bash |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/completion/git-completion.bash 
b/contrib/completion/git-completion.bash
index 893b771..f9a74d3 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1506,7 +1506,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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-03-23 12:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21  9:25 [PATCH] git-completion: Add git help completion for aliases Jakob Pfender
2011-03-21 21:48 ` Junio C Hamano
2011-03-21 22:07   ` Johannes Schindelin
2011-03-22  7:53     ` Junio C Hamano
2011-03-22  8:44       ` Johannes Schindelin
2011-03-22  8:50       ` SZEDER Gábor
2011-03-22  9:16         ` Erik Faye-Lund
2011-03-22  9:18           ` Erik Faye-Lund
2011-03-22 10:09           ` SZEDER Gábor
2011-03-22 10:28             ` Erik Faye-Lund
2011-03-22 16:38               ` Michael J Gruber
2011-03-22 20:25               ` SZEDER Gábor
2011-03-23 10:32                 ` Erik Faye-Lund
2011-03-23 12:11                   ` Jakub Narebski
2011-03-23 12:16                     ` Erik Faye-Lund
2011-03-22 17:25         ` Junio C Hamano
2011-03-22 21:21           ` SZEDER Gábor
2011-03-22  8:23   ` SZEDER Gábor
2011-03-22  9:23   ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).