Skip to content

Commit

Permalink
Update error message about removed -Zgitoxide aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
connorworley committed Jan 11, 2024
1 parent 64716fe commit 0088121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ fn parse_gitoxide(
"checkout" => *checkout = true,
"internal-use-git2" => *internal_use_git2 = true,
_ => {
bail!("unstable 'gitoxide' only takes `fetch` and 'checkout' as valid inputs")
bail!("unstable 'gitoxide' only takes `fetch` and 'checkout' as valid input, for shallow fetches see `-Zgit=shallow-index,shallow-deps`")
}
}
}
Expand Down

0 comments on commit 0088121

Please sign in to comment.