git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git bash completion handles alias options
@ 2012-08-09 20:52 Jerome Reybert
  2012-08-09 20:52 ` Jerome Reybert
  0 siblings, 1 reply; 2+ messages in thread
From: Jerome Reybert @ 2012-08-09 20:52 UTC (permalink / raw)
  To: git; +Cc: Jerome Reybert

git bash completion now handles git alias options. It means that options which
change the completion behavior for complete commands will also change the
behavior of completion for aliased command.  

bash completion now handle git alias options. I did a use case in another
commit: a checkout alias which only complete local branches, ie. only 'refs'
ones, not 'remotes'. With this new alias completion, I added an option to do
that in checkout command and hacked _git_checkout complete function.

Best,
  Jerome

Jerome Reybert (1):
  git bash completion handles alias options

 contrib/completion/git-completion.bash | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

-- 
1.7.12.rc0.91.gf4edd99

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

end of thread, other threads:[~2012-08-09 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 20:52 [PATCH] git bash completion handles alias options Jerome Reybert
2012-08-09 20:52 ` Jerome Reybert

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).