GNU bug report logs -
#62735
30.0.50; project.el project-search errors because project-files returns directories
Previous Next
Reported by: Robert Nikander <robert.nikander <at> icloud.com>
Date: Sun, 9 Apr 2023 04:12:03 UTC
Severity: normal
Found in version 30.0.50
Fixed in version 29.1
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 10/04/2023 02:25, Robert Nikander wrote:
> I don’t think it’s a submodule anymore. The directory does have a .git folder in it though (like a submodule). The directory was simply copied into the project tree like that, as part of moving it between projects. There is no '.gitmodules' file anywhere. So my guess is this bug was being triggered by the mere existence of the .git directory nested a few layers down in my project. That .git directory is not going to stay there, it’s going to get deleted, but of course it still shouldn’t crash the emacs command.
All right. So it's a different situation, but one we shouldn't have to
try to support since it's going to be fixed manually.
But the same thing can happen when submodules are used, so the fix is
still useful. Good to know this is still the main case where we might
need to filter by file type.
This bug report was last modified 2 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.