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

/read-only doesn't abide .aiderignore / .gitignore #2713

Open
Nucs opened this issue Dec 27, 2024 · 1 comment · May be fixed by #2714
Open

/read-only doesn't abide .aiderignore / .gitignore #2713

Nucs opened this issue Dec 27, 2024 · 1 comment · May be fixed by #2714
Labels
question Further information is requested

Comments

@Nucs
Copy link

Nucs commented Dec 27, 2024

Issue

Running /read-only **/*.cs includes files from ignored directories that /add doesn't. (files from obj/ and bin/ folders)
Expected behavior is that both /add and /read-only reach same files / ignore the same files.
Presumably because /read-only does take into account .aiderignore / .gitignore

Version and model info

Aider v0.69

@alexsvorada alexsvorada linked a pull request Dec 27, 2024 that will close this issue
@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

The /read-only command intentionally does not respect gitignore and aiderignore. It allows you to read in any file from anywhere in the file system.

@github-actions github-actions bot added the question Further information is requested label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants