emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-dir operation is very slow on large git repositories in Emacs 26.


From: Dmitry Gutov
Subject: Re: vc-dir operation is very slow on large git repositories in Emacs 26.1
Date: Thu, 28 Jun 2018 03:30:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 6/27/18 6:12 PM, Eli Zaretskii wrote:

So I think we should try it and see if anything broken comes up?

Yes.  Although I'm slightly scared because the man pages say

   OPTIONS
     -c
     --cached
       Show cached files in the output (default)
   ...
     -u
     --unmerged
       Show unmerged files in the output (forces --stage)

which doesn't sound equivalent to me.  But then I can never understand
the Git documentation well enough to be sure what it says...

We don't need equivalent. The first option returns *all* files in the repository, which we want to get away from.

Eli, OK for emacs-26?

If you are sure -c and -u are equivalent here, yes, please.

It works in my testing. But if I were 100% sure, I wouldn't be asking.

Pushed, with a couple more tweaks (orthogonal ones).



reply via email to

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