]> git.proxmox.com Git - cargo.git/commit
Fix updating submodules past failures
authorAlex Crichton <alex@alexcrichton.com>
Tue, 19 Dec 2017 15:34:14 +0000 (07:34 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 20 Dec 2017 15:00:43 +0000 (07:00 -0800)
commitddc74a5db4c72ba586e12b88b79474f1877b0c97
treebcd20d33531d1ff82671ab31fbd6c0a9206e899e
parent26f768f5d20a692a82b3ca2af57451ec04c1f72c
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
src/cargo/sources/git/utils.rs
tests/git.rs