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: Jambunathan K
Subject: Re: slow opening of files in git directories in windows
Date: Thu, 27 Oct 2011 16:33:44 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt)

Nikolai Weibull <address@hidden> writes:

> 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.

If you have this

(setq vc-command-messages t)

then you can see the command that vc issues in the messages buffer.

>
>

-- 



reply via email to

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