Re: git status takes 30 seconds on Windows 7. Why?
- From
John Keeping <john@keeping.me.uk>
- Date
- Mar 27, 2013, 17:22 UTC
- Message-ID
- <20130327172216.GO2286@serenity.lan>
- In-Reply-To
- <CAFT1WNyyXbCOQWMt8nYife7Tix_mJzDQrj5e+N=GKbDR8OyYzQ@mail.gmail.com>
On Wed, Mar 27, 2013 at 11:39:31AM -0500, Jim Kinsman wrote:
Show 13 quoted lines
> git status takes 30 seconds on Windows 7. Here are some stats: > git ls-files | wc -l > 27330 > > git ls-files -o | wc -l > 4 > > $ git diff --name-only | xargs du -chs > 68K update_import_contacts.php > 68K total > > What can I do??? This is so slow it is unbearable. > By the way i've done git gc several times and nothing changed.
Can you run these commands under "time" so that we can see that it's definitely the "git ls-files" taking 30 seconds and not something in $PS1?