Subject: bash completion only provides revs, not paths

From: Uwe Kleine-König <[email-masked]>
Date: Tue, 22 Apr 2008 13:21:29 +0200

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