]> git.proxmox.com Git - cargo.git/commitdiff
auto merge of #549 : alexcrichton/cargo/git-no-delete, r=brson
authorbors <bors@rust-lang.org>
Wed, 10 Sep 2014 18:27:54 +0000 (18:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Sep 2014 18:27:54 +0000 (18:27 +0000)
This primarily blows away all *submodules* as well, which sometimes can be quite
large and take some time to update. Instead, re-use an existing checkout, just
reset it to the right revision if possible.

Also, move the submodule update step to occur unconditionally to account for
corrupt submodule checkouts or interrupted downloads. This update step should be
much faster than `git submodule update` because we're using libgit2, so yay!

1  2 
tests/test_cargo_compile_git_deps.rs

Simple merge