Skip to content

Commit 3a0fd08

Browse files
committed
Support vendoring with different revs from same git repo
Signed-off-by: Atkins Chang <[email protected]>
1 parent 2a3dcc5 commit 3a0fd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/vendor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ fn sync(
255255
let name = if source_id.is_default_registry() {
256256
CRATES_IO_REGISTRY.to_string()
257257
} else {
258-
source_id.url().to_string()
258+
source_id.as_url().to_string()
259259
};
260260

261261
let source = if source_id.is_default_registry() {

0 commit comments

Comments
 (0)