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: Eli Zaretskii
Subject: Re: vc-dir operation is very slow on large git repositories in Emacs 26.1
Date: Thu, 28 Jun 2018 15:55:25 +0300

> Cc: address@hidden, address@hidden, address@hidden,
>  address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Thu, 28 Jun 2018 03:30:36 +0300
> 
> >    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.

That wasn't my concern.  My concern was about "cached" vs "unmerged".
I think I understand the former (it's about the staged files, right?),
but what does the latter mean, and how does it affect what we need in
this case from Git.  IOW, if -c is not necessary, why not just disable
it?  Or is that not possible, and -u is the way to disable it?

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

Thanks.



reply via email to

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