From: Junio C Hamano Date: Sun, 04 Oct 2020 19:55:43 GMT Subject: Re: [PATCH] gitsubmodules: add '--recurse-submodules' for 'ls-files' Message-ID: In-Reply-To: "Philippe Blain via GitGitGadget" writes: > @@ -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 > cd > > # 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.