Re: [q] git-diff --reverse 7def2be1..7def2be1^
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 28, 2008, 22:08 UTC
- Message-ID
- <7vk5g9kyap.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080626093726.GA24577@elte.hu>
Ingo Molnar <mingo@elte.hu> writes:
Show 11 quoted lines
> * Jakub Narebski <jnareb@gmail.com> 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?
<offtopic> I'll be mostly offline for the rest of the day, so you do not have to respond in a hurry. </offtopic>