From: Junio C Hamano Date: Sat, 28 Jun 2008 22:08:30 GMT Subject: Re: [q] git-diff --reverse 7def2be1..7def2be1^ Message-ID: <7vk5g9kyap.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080626093726.GA24577@elte.hu> Ingo Molnar writes: > * Jakub Narebski wrote: > ... >> contrib/completion/git-completion.bash in git repository. > > btw., i had to turn this off - it made certain types of file completions > almost unusable, by adding a 2-3 seconds delay (during which bash would > just spin around burning CPU time calculating its completion guesses). > > and that was on a 3 GHz dual-core box ... > > so please do not remove the git-* commands, they are really useful. The slowness of the completion script (especially the time it takes before it decides to complete pathnames) has been bothering me for some time, so I share Ingo's frustration, but it hasn't got to the point to disable it. After typing: $ git checkout master -- Docu and then hitting the "Tab" key to complete before I see "mentation/", it takes about 2-3 seconds for the first time, and after that it becomes torelable. Is it the command table bootstrapping that is taking this long? I'll be mostly offline for the rest of the day, so you do not have to respond in a hurry.