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

Option to ignore git submodules in recursion #1089

Open
jannis-baum opened this issue Jul 19, 2022 · 0 comments
Open

Option to ignore git submodules in recursion #1089

jannis-baum opened this issue Jul 19, 2022 · 0 comments

Comments

@jannis-baum
Copy link

When recursively listing the contents of a small repository with one or more big submodules, it would be cool to be able to ignore the submodules similar to how gitignored files are ignored with --git-ignore. This would show only the submodules' top level directory and avoid unnecessary clutter in listing the original repository's contents.

Note: I tried grabbing the submodule paths in a sub-shell and using them with --ignore-glob but this doesn't work since --ignore-globs are only matched against file names and not directories as illustrated in #97 (comment).

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