$ time __git_ps1 ((v2.6.33.4)) real 0m1.467s user 0m0.864s sys 0m0.564s
It\'s making my prompt unusable; on the other hand, though, it\'s too us
to know where exactly this takes time you can do :
bash -x
then
__git_ps1
Mine was taking time for
++ git ls-files --others --exclude-standard
it was listing all the files of my gitted home drectory. even on a fast ssd, it took quite a long time.