I have two machines where git bash auto complete is agonizingly slow. When I hit tab, it can take 8 to 10 seconds for the filename to be completed. This only seems to happen when the auto complete is part of a git
command. Auto complete for cd
works fine. The actual execution of the git command runs fine.
I am using git version 1.8.3-preview20130601
$ git count-objects -vH
count: 9
size: 10.23 KiB
in-pack: 2488
packs: 1
size-pack: 18.68 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
What could be causing this? Is there any possible fix?
EDIT: I updated to Git (version 1.8.4-preview20130916)
and the problem still persists. I did notice that when running the bash shell in ConEmu the command displayed at the bottom during the long pause is uniq.exe
. It seems that the call to that executable is what is chewing up the time.
EDIT: Updating to git version 1.9.0.msysgit.0
has alleviated much of the problem. The delay is now only 1 to 2 seconds. Other commands like cd
are still almost instant (< 0.5s). I also do not see uniq.exe
running anymore, just sh.exe
.
du -sh .git
gives 19M – Vincentia