emacs-devel
[Top][All Lists]
Advanced

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

Re: Magit slow on Windows


From: Kevin Yu
Subject: Re: Magit slow on Windows
Date: Fri, 11 May 2012 14:08:55 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (windows-nt)

>
> Then I think this is wrong: you should see
>
>   c:/git/bin/git.exe

If you do not want to export all the unix fileutils commands comming
with msys, the msys installation will wrap the git.exe command in
git.cmd, and put it in a seperated directory.

>
> Invoking git through a Windows shell script incurs an unnecessary
> slowdown.  You should start Emacs from the shell that knows about the
> msysgit installation, to get correct behavior.

here's the test from eshell:

    $ which git
    c:/git/cmd/git.cmd
    
    $ time git status
    0.156 secs

If you invoke M-x magit-status. It takes about 3 seconds to update the
status. I don't why :(.

Magit is really faster on Linux. I tested it in my virtual machine
(Debian 6.0) on the same repo(shared by virtual box shared
directory). It takes less than 1 second to show the repo status.





reply via email to

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