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

Support ignoring submodules #440

Open
luxaritas opened this issue Mar 19, 2024 · 2 comments
Open

Support ignoring submodules #440

luxaritas opened this issue Mar 19, 2024 · 2 comments

Comments

@luxaritas
Copy link

Typically, git submodules are external dependencies and aren't desirable to be considered when sizing a repository. cloc --vcs git for example excludes submodule paths by default.

@boyter
Copy link
Owner

boyter commented Mar 19, 2024

Any reason you would not consider a .ignore file for this sort of situation?

@luxaritas
Copy link
Author

luxaritas commented Mar 19, 2024

Convention, mostly - scc already automatically picks up on gitignore, so I would expect it to behave "as expected" by default (though I recognize there could be disagreement on expected behavior here). cloc doing this also seems to lend credence to it being expected behavior.

Also IMO worth considering that this information is already available in a well-defined manner

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

No branches or pull requests

2 participants