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

Cannot find in git submodules. #1

Open
gorakhargosh opened this issue Jun 22, 2012 · 2 comments
Open

Cannot find in git submodules. #1

gorakhargosh opened this issue Jun 22, 2012 · 2 comments

Comments

@gorakhargosh
Copy link

Could find-things-fast read the git submodules configuration and do a
search in it as well?

Thank you for an awesome module.

Cheers!

@eglaysher
Copy link
Owner

I don't know. This is entirely up to git; ftf is just a fancy wrapper
around git-grep and git-ls-files. If there's an --obey-submodules flag
that I can pass to the git tools, it would be a relatively simple
patch.

On Fri, Jun 22, 2012 at 10:09 AM, Yesudeep Mangalapilly
[email protected]
wrote:

Could find-things-fast read the git submodules configuration and do a
search in it as well?

Thank you for an awesome module.

Cheers!


Reply to this email directly or view it on GitHub:
#1

@gorakhargosh
Copy link
Author

pushd $(git rev-parse --show-cdup) > /dev/null 2>&1; git submodule foreach --recursive 'git ls-files'; popd > /dev/null 2>&1

That dumps the list of files recursively
excluding untracked files.

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

2 participants