-
Notifications
You must be signed in to change notification settings - Fork 281
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
Add ability to ignore git submodules #31
Comments
Sorry for the late answer. What I can do is add an exclude flag (like in tokei) where the user can specify some files or folder to exclude which are not referenced in the .gitignore... Would that solve the issue? |
If the tokei dependency is updated to version 10.0, you should be able to add a |
Thanks for the info @spenserblack Plz do the PR 🥇 Would that solve your issue @d3zd3z ? |
I "solves" the issue in that it provides another way to work around it. But it is at least more meaningful as a Tokei-specific file. |
Awesome it can use In any case there should be a flag to ignore the submodules, |
A PR that I'm working on (#1305) will actually have the side-effect of ignoring submodules by default. Looking at |
Some projects pull in other large subprojects as submodules (think of LLVM in the Rust compiler source). This can dwarf the statistics, making them less useful.
This could either be added as a feature to tokei, or use the output of a git submodule command to generate a list of exclusions to give to it.
The text was updated successfully, but these errors were encountered: