[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: |
Sergey Organov |
Subject: |
Re: vc-dir operation is very slow on large git repositories in Emacs 26.1 |
Date: |
Thu, 28 Jun 2018 16:21:44 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
> On 6/27/18 5:49 AM, Tom Tromey wrote:
>>>> Not exactly an expert, but googling suggests 'git ls-files -u' as the
>>>> answer. Please be aware that the output will have 3 entries for every
>>>> conflicting file: merge base, theirs, and ours.
>>
>> Dmitry> Tom, any reason you did not choose this option?
>>
>> I'm afraid I don't remember any more.
>
> OK. Too bad the commit didn't include tests.
>
> So I think we should try it and see if anything broken comes up?
In fact it could be that
$ git status -z
is the way to go, even though it will need changes in parsing.
Here is quote from 'git help status', for quick reference:
-z
Terminate entries with NUL, instead of LF. This implies the
--porcelain output format if no other format is given.
[...]
--porcelain
Give the output in an easy-to-parse format for scripts. This is
similar to the short output, but will remain stable across Git
versions and regardless of user configuration. See below for
details.
The output format is then carefully described later in the man-page.
-- Sergey
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, (continued)
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/27
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/27
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/27
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/28
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1,
Sergey Organov <=
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/28