From: Junio C Hamano Date: Sun, 13 Jul 2008 23:25:35 GMT Subject: Re: [PATCH] bash completion: Fix the . -> .. revision range completion Message-ID: <7vhcatnz80.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080713230724.GJ10151@machine.or.cz> Petr Baudis writes: > On Sun, Jul 13, 2008 at 02:38:37PM -0700, Junio C Hamano wrote: >> By the way, the above command line is another "dot" related frustration I >> always have. If you try: >> >> git log v1.5.6. >> >> the completion code adds a dot unconditionally when I want to choose from >> the list of v1.5.6.X tags. Of course, I can work this around by dropping >> the last dot before asking for completion, so it is not really a very big >> deal, but I mention it here because this annoyance is exactly in the same >> league as your "git-submodule." example. > > Actually, my original solution to this problem was simply to remove the > . -> .. completion altogether. Maybe this would still be the best course > of action? I don't think the . -> .. is actually very useful for anyone, > since you might as well just hit the dot another time instead of a tab. I think that is what Shawn sent a few minutes ago, so you two are in agreement, and I will be happy with it, too.