Auto merge of #4837 - alexcrichton:failed-submodule-checkout, r=matklad
authorbors <bors@rust-lang.org>
Wed, 20 Dec 2017 15:01:01 +0000 (15:01 +0000)
committerbors <bors@rust-lang.org>
Wed, 20 Dec 2017 15:01:01 +0000 (15:01 +0000)
Fix updating submodules past failures

If a submodule-of-a-submodule failed to update then Cargo the next time
around wouldn't automatically retry updating the next submodule. This commit
fixes that by ensuring that if a parent git repository looks updated we still
recurse into its own submodules to ensure they're all updated.

cc #4071


Trivial merge