Re: [PATCH] gitsubmodules: add '--recurse-submodules' for 'ls-files'
"Philippe Blain via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 17 quoted lines
> @@ -246,20 +246,23 @@ Workflow for an artificially split repo
> # regular commands recurse into submodules by default
> git config --global submodule.recurse true
>
> - # Unlike the other commands below clone still needs
> + # Unlike most other commands below, clone still needs
> # its own recurse flag:
> git clone --recurse <URL> <directory>
> cd <directory>
>
> # Get to know the code:
> git grep foo
> - git ls-files
> + git ls-files --recurse-submodules
> +
> +[NOTE]
> +`git ls-files` also requires its own `--recurse-submodules` flag.
Makes sense. Thanks, will queue.