[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: |
Tue, 26 Jun 2018 18:14:40 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> Cc: address@hidden, address@hidden, address@hidden
>> From: Dmitry Gutov <address@hidden>
>> Date: Mon, 25 Jun 2018 15:55:38 +0300
>>
>> It's used to obtain the list of conflicted files. Which is the new
>> feature added in the bug report I've referenced.
>>
>> I'm not quite sure why we have to fetch the list of all files in the
>> repository to do that.
>>
>> It seems like the approach was simply adapted from the
>> ls-files-up-to-date stage, but that one is only called for a list of
>> individual files, not for the status of a whole directory (e.g. whole
>> repository).
>
> Maybe some Git expert could suggest a more economical way of doing the
> same? (I'm not that expert.)
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.
-- Sergey
Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/22
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/23
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/23
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/23
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Dmitry Gutov, 2018/06/25
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Eli Zaretskii, 2018/06/25
- 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/26
- Re: vc-dir operation is very slow on large git repositories in Emacs 26.1, Tom Tromey, 2018/06/26
- 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