Fix segfault if gitmodules is invalid
The reload_all call could end up dereferencing a NULL pointer if there was an error while attempting to load the submodules config data (i.e. invalid content in the gitmodules file). This fixes it.
Showing
tests/submodule/nosubs.c
0 → 100644
Please
register
or
sign in
to comment