cargo/src
Ed Page 9ca6376f29 fix(resolver): Don't do git fetches when updating workspace members
Before, when running `cargo update <member>`, we'd not reuse the
previous resolve result and when the resolver started walking into the
dependencies, it would do a git fetch.

Now, we won't even try to resolve the workspace members and so we won't
look at those dependencies and do git fetch.

This will make `cargo update <workspace-member>`
match `cargo update --workspace`.
I considered whether there were other ways of handling this but I
figured aiming for consistency in approaches was the best way.
We can investigate improving those approaches separately.

There are other discrepancies in the different code paths (handling of
patches, adding sources) but I'm deferring looking over those.

Between this and #12602, this should finnally resolve #12599.

Fixes #12599
2023-11-14 13:47:10 -06:00
..
bin/cargo feat(cli): add color output for cargo --list 2023-11-16 18:10:59 -05:00
cargo fix(resolver): Don't do git fetches when updating workspace members 2023-11-14 13:47:10 -06:00
doc Avoid locale-specific link 2023-11-17 15:29:30 +08:00
etc Update cargo-search.md and its man page 2023-11-13 19:50:30 +08:00