fix: "Malformed pattern in custom ignore file .project" error

I introduced '--ignore-file .project' to `projectile-git-fd-args` in
4fcf332  expecting fd to ignore the file if it didn't exist, but it
throws an error if it doesn't, causing it to throw these errors in any
project without a .project file.

Amend: 4fcf332749
This commit is contained in:
Henrik Lissner 2024-08-12 19:46:40 -04:00
parent f5020a4f7f
commit 95e0b43012
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -193,7 +193,7 @@ And if it's a function, evaluate it."
(put 'projectile-git-submodule-command 'initial-value projectile-git-submodule-command) (put 'projectile-git-submodule-command 'initial-value projectile-git-submodule-command)
(setq projectile-git-submodule-command nil (setq projectile-git-submodule-command nil
;; Include and follow symlinks in file listings. ;; Include and follow symlinks in file listings.
projectile-git-fd-args (concat "-L -tl " projectile-git-fd-args " --ignore-file .project") projectile-git-fd-args (concat "-L -tl " projectile-git-fd-args)
projectile-indexing-method 'hybrid projectile-indexing-method 'hybrid
projectile-generic-command projectile-generic-command
(lambda (_) (lambda (_)