Re: [PATCH 3/2] ls-files: only recurse on active submodules
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 13, 2017, 19:05 UTC
- Message-ID
- <CAGZ79kZ8KV+c2StKR8tp=s_E1+uEaSezgsmUfyyO9HUrmzdT+g@mail.gmail.com>
- In-Reply-To
- <20170413185707.97746-1-bmwill@google.com>
On Thu, Apr 13, 2017 at 11:57 AM, Brandon Williams <bmwill@google.com> wrote:
> Add in a check to see if a submodule is active before attempting to > recurse. This prevents 'ls-files' from trying to operate on a submodule > which may not exist in the working directory.
What would currently happen on recursing into non-active submodules? Can we have a test for this?
Thanks, Stefan