Brandon Williams <bmwill@xxxxxxxxxx> writes: > 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. > > Signed-off-by: Brandon Williams <bmwill@xxxxxxxxxx> > --- Sounds like this is something we can demonstrate its effect with a simple test in t/ directory?