[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile 7054dc7: [Fix #1701] Always add project root to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile 7054dc7: [Fix #1701] Always add project root to known projects |
Date: |
Tue, 31 Aug 2021 14:57:37 -0400 (EDT) |
branch: elpa/projectile
commit 7054dc7497cea2bd62fc8b6837ea0cc32ef6ae95
Author: Juergen Hoetzel <juergen@hoetzel.info>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
[Fix #1701] Always add project root to known projects
This prevents the unintentional addition of project subdirectories if
the directory tree layout does not match the specified
`projectile-project-search-path`.
---
projectile.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projectile.el b/projectile.el
index d47c281..cad9a21 100644
--- a/projectile.el
+++ b/projectile.el
@@ -1045,7 +1045,7 @@ discover projects there."
(not (member (file-name-nondirectory dir) '(".." "."))))
(projectile-discover-projects-in-directory dir (1- depth))))
(when (projectile-project-p directory)
- (projectile-add-known-project directory)))
+ (projectile-add-known-project (projectile-project-root directory))))
(message "Project search path directory %s doesn't exist" directory)))
;;;###autoload
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/projectile 7054dc7: [Fix #1701] Always add project root to known projects,
ELPA Syncer <=