all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: emacs-devel@gnu.org, andreyk.mad@gmail.com
Subject: Re: Change in vc-git ls-files-unknown makes emacs hang
Date: Fri, 20 Dec 2019 00:42:24 +0200	[thread overview]
Message-ID: <3ffa93fe-06af-2920-812c-4a67367f2933@yandex.ru> (raw)
In-Reply-To: <m2d0ck9ha9.fsf@fastmail.fm>

On 19.12.2019 22:44, Filipp Gunbin wrote:

> Yes, I caught it, and this:
> 
>> UUIC, the only case where this change should lead to a performance
>> problem is a Git repository with lots of unregistered files. Ones not
>> hidden by gitignore.
> 
> is exactly my use case.  I have git repo right in my home dir, mainly
> for dot-files.  Most other stuff there is in .gitignore, but there're
> some not-ignored directories with large amount of files,

Then, first of all, you know the workaround: add some gitignore entries.

> like .ivy2 with
> cache of jars from ivy repositories.

I wonder: how many files?

And it would be helpful, of course, to figure out which code calls it 
during desktop-read. It's probably not VC-Dir, or you would have have 
noticed it much earlier. Maybe some third-party code?

> And vc-dir there (or in a subdirectory) leads to a freeze.

I'm hesitant to revert it because VC-Dir really doesn't deal with the 
previous format very well (meaning, directories with statuses returned 
only sometimes).

And before the latest change you couldn't easily register new files from 
the VC-Dir  buffer if the directory they are in is also new.

So, opinions welcome.



  reply	other threads:[~2019-12-19 22:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19 14:16 Change in vc-git ls-files-unknown makes emacs hang Filipp Gunbin
2019-12-19 14:41 ` Dmitry Gutov
2019-12-19 20:44   ` Filipp Gunbin
2019-12-19 22:42     ` Dmitry Gutov [this message]
2019-12-20  7:33       ` Eli Zaretskii
2019-12-20 10:52         ` Filipp Gunbin
2019-12-20 14:13           ` Dmitry Gutov
2019-12-20 15:36             ` Filipp Gunbin
2019-12-20 15:40               ` Dmitry Gutov
2019-12-20 17:14                 ` Filipp Gunbin
2019-12-20 22:18                   ` Dmitry Gutov
2019-12-21 21:51         ` Proced signals (was: Change in vc-git ls-files-unknown makes emacs hang) Juri Linkov
2019-12-22 17:02           ` Eli Zaretskii
2019-12-19 20:45 ` Change in vc-git ls-files-unknown makes emacs hang Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ffa93fe-06af-2920-812c-4a67367f2933@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=andreyk.mad@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.