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

[Bug] .fernignore doesn't ignore files that haven't already been tracked by git #4737

Open
abvthecity opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@abvthecity
Copy link
Contributor

Describe the bug

await this.runGitCommand(["reset", "--", ...fernIngnorePaths], tmpOutputResolutionDir);

fernignore, which uses git reset, doesn't ignore globs on files that haven't been tracked by git. See fern-api/fern-platform#1532 for details

To reproduce

add a glob (like generated/a/b/*) to .fernignore

Expected behavior

all files captured under the glob should not be written to disk.

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

No branches or pull requests

2 participants