submodule: remove redundant check for the_index.initialized
commit467b8fe1bb900832f51281fe954d9134b545d6dd
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 9 Jun 2013 16:33:45 +0000 (9 18:33 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Jun 2013 20:46:45 +0000 (9 13:46 -0700)
tree4919447580b0139cca3721d14367cc445a035557
parent26f8f32a2039a0e4568fb7d3682be19b94a9dd7f
submodule: remove redundant check for the_index.initialized

read_cache already performs the same check and returns immediately if
the cache has already been loaded.

Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c