bash completion only provides revs, not paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux