all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#62633: 30.0.50; project-files returns files that have been deleted
@ 2023-04-03  1:14 João Távora
  0 siblings, 0 replies; only message in thread
From: João Távora @ 2023-04-03  1:14 UTC (permalink / raw)
  To: 62633; +Cc: dgutov, felician.nemeth

Hello,

Originally reported in https://github.com/joaotavora/eglot/issues/1198

project-files, used by Eglot, returns files that have been deleted in
the filesystem but are still versioned by Git.  This led to Eglot
reporting a errors to the LSP server since it was using that list of
files to place filesystem watchers.

The problem was worked around in Eglot, but the question remains whether
project-files should be reworked to filter out these nonexistent files
from its return value.

According to Dmitry, doing so might be expensive, since the underlying
Git implementation of this method, 'git ls-files', is 2x faster when not
required to filter out deleted files.

João







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-03  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03  1:14 bug#62633: 30.0.50; project-files returns files that have been deleted João Távora

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.