Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinked .gitignore files spawn "Too many levels of symbolic links" errors #1864

Open
brettcs opened this issue Sep 25, 2023 · 0 comments
Open

Comments

@brettcs
Copy link

brettcs commented Sep 25, 2023

I work in a Git repository where a lot of subdirectories have their own .gitignore file. Some of these files are symbolic links to another .gitignore elsewhere in the repository.

Expected behavior

I can use projectile-find-file without any problems.

Actual behavior

As soon as I start projectile-find-file, the *projectile-files-errors* buffer pops up to report:

warning: unable to access 'subdir2/.gitignore': Too many levels of symbolic links

There's one such line for each symlinked .gitignore, and a new page of errors each time I run projectile-find-file.

Environment & Version information

Projectile version information

Projectile 2.7.0

Emacs version

28.2

Operating system

Debian 12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant