git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bash completion only provides revs, not paths
@ 2008-04-22 11:21 Uwe Kleine-König
  2008-04-23  1:52 ` Shawn O. Pearce
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Kleine-König @ 2008-04-22 11:21 UTC (permalink / raw)
  To: git; +Cc: Shawn O. Pearce

Hello,

currently autocompletion in 

	ukleinek@zentaur:~/gsrc/linux-2.6 git log ar<tab>

only yields "armltd/" (i.e. the prefix of some remote tracking branches)
but most of the time I want it to complete to "arch/".

I don't understand that autocompletion stuff, but probably to fix that
several __git_complete_revlist should be replaced by a
__git_complete_revlist_or_path.  The harder part is to implement the
latter function.  An optimal implementation would only give back paths
if there is a "--" somewhere before the cursor.

Best regards
Uwe

-- 
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962

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

end of thread, other threads:[~2008-04-24  6:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 11:21 bash completion only provides revs, not paths Uwe Kleine-König
2008-04-23  1:52 ` Shawn O. Pearce
2008-04-23  5:56   ` Uwe Kleine-König
2008-04-24  1:21     ` [PATCH] " Shawn O. Pearce
2008-04-24  5:52       ` Uwe Kleine-König

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