Skip to content

Commit

Permalink
Support vendoring with different revs from same git repo
Browse files Browse the repository at this point in the history
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
  • Loading branch information
AtkinsChang committed May 13, 2022
1 parent 2a3dcc5 commit 3a0fd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fn sync(
let name = if source_id.is_default_registry() {
CRATES_IO_REGISTRY.to_string()
} else {
source_id.url().to_string()
source_id.as_url().to_string()
};

let source = if source_id.is_default_registry() {
Expand Down

0 comments on commit 3a0fd08

Please sign in to comment.