From: Michael J Gruber Date: Thu, 24 Feb 2011 14:07:33 GMT Subject: Re: [PATCH] completion: complete "git diff ...branc" Message-ID: <4D666625.70608@drmicha.warpmail.net> In-Reply-To: <20110224135821.GA14720@neumann> SZEDER Gábor venit, vidit, dixit 24.02.2011 14:58: > On Thu, Feb 24, 2011 at 01:24:57PM +0100, Michael J Gruber wrote: >> Reminds me fo the following: Typing >> >> git log origin/next@{1}..o >> >> gives >> >> git log origin/next{1}..o >> >> WTF? Completion eats at babies! > > Interesting, I can't seem to be able to reproduce. > > git log origin/next@{1}..o > > gives me > > git log origin/next@{1}..origin/ > > and a TAB after that gives me all the remote branches from origin, as > it is supposed to, leaving the @{1} intact. > > Which git, bash, and bash completion versions are you using? git version 1.7.4.1.224.gefc87 (yesterday's next, but I've been observing this for a while now) GNU bash, Version 4.1.7(1)-release (x86_64-redhat-linux-gnu) (Fedora 14+updates) git-completion from next a few days ago (Also, I just tried with LANG=C, so it's not the de_DE locale nor utf8.) Michael