all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: 62633@debbugs.gnu.org
Cc: dgutov@yandex.ru, felician.nemeth@gmail.com
Subject: bug#62633: 30.0.50; project-files returns files that have been deleted
Date: Mon, 03 Apr 2023 02:14:57 +0100	[thread overview]
Message-ID: <87ttxxkbqm.fsf@gmail.com> (raw)

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







                 reply	other threads:[~2023-04-03  1:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87ttxxkbqm.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=62633@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=felician.nemeth@gmail.com \
    /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.