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

Feature request: Include files that are in a .gitignore, but have been force-added to the repository anyway #239

Open
Joey9801 opened this issue Sep 11, 2023 · 0 comments

Comments

@Joey9801
Copy link

Hi,

Firstly, thanks for the great tool!

A relatively common case that occurs in my workflow is:

  • An entire class of file is present in a top-level .gitignore for the repo, eg *.parquet to avoid accidentally committing chunky real data files.
  • There are a few files in the repo that match the top level .gitignore but have been force added to the repository, eg a .parquet file containing some small sample data for an integration test.

In this scenario, erdtree correctly ignores all of the items in the .gitignore file such as build directories etc.., but unfortunately this means it also skips this kind of force-added test file. A really useful feature for me would be a slightly tighter integration with git, such that erdtree could know not to exclude these force-added files from its listing.

Cheers,
Joe

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