Subject: bug#73320: [PATCH] project--vc-list-files: use Git's sparse-index

From: Dmitry Gutov <[email-masked]>
Date: Thu, 19 Sep 2024 12:34:51 +0300

On 19/09/2024 08:41, Eli Zaretskii wrote:
>> Cc: [email-masked]
>> Date: Thu, 19 Sep 2024 01:27:03 +0300
>> From: Dmitry Gutov <[email-masked]>
>>
>> -                      (unless (member file submodules)
>> +                      (unless (or (member file submodules)
>> +                                  (eq ?/ (aref file (1- (length file)))))
>                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Why not use directory-name-p here?

Thanks for the suggestion, I forgot that it's available and fast.

We might want to likewise update completion-emacs22-try-completion and 
vc-git--file-list-is-rootdir.