From: Jay Soffian Date: Fri, 06 Mar 2009 01:57:39 GMT Subject: Re: git push bash completion Message-ID: <76718490903051757j37511e2eq7f2bae26c1576f76@mail.gmail.com> In-Reply-To: <200903060015.39834.markus.heidelberg@web.de> On Thu, Mar 5, 2009 at 6:15 PM, Markus Heidelberg wrote: > Something similar happens with fetch and pull. They only complete the > remote name, when exactly 2 words are existing on the command line > ("git" and the subcommand) by: if [ "$COMP_CWORD" = 2 ] > > Doesn't seem right. I'm working on a fix. I hope to have it out tonight for review. j.