emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slow opening of files in git directories in windows


From: Nikolai Weibull
Subject: Re: slow opening of files in git directories in windows
Date: Thu, 27 Oct 2011 12:14:04 +0200

On Thu, Oct 27, 2011 at 11:48, Eli Zaretskii <address@hidden> wrote:
>> Date: Thu, 27 Oct 2011 08:45:28 +0200
>> From: Nikolai Weibull <address@hidden>
>> Cc: address@hidden
>>
>> On Thu, Oct 27, 2011 at 08:39, Nathaniel Flath <address@hidden> wrote:
>> > I've noticed that opening files in git repositories open fairly slowly 
>> > using
>> > the latest pretest in windows - sometimes it takes several seconds, whereas
>> > the same file not under a repository opens instantly.  What would be the
>> > best way to track this down?
>>
>> It’s vc(-git) that’s causing it.  It runs git a couple of times, which
>> is slow on Windows.  Unbelievably slow.

> Can you tell which git commands are run when a file is visited, and
> which are slow?

Sorry, I have no insight into vc-mode, but I’m guessing that it runs
git rev-parse --show-cdup, git status, and such command to determine
the current status of the opened file.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]