nosubs.c
2.84 KB
-
Fix segfault if gitmodules is invalid · 22df47cb
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.
Russell Belfer committed