From: Uwe Kleine-König Date: Tue, 22 Apr 2008 11:21:29 GMT Subject: bash completion only provides revs, not paths Message-ID: <20080422112129.GA30923@digi.com> Hello, currently autocompletion in ukleinek@zentaur:~/gsrc/linux-2.6 git log ar 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