diff --git a/src/cargo/core/features.rs b/src/cargo/core/features.rs index a57ce1471555..4df94592031a 100644 --- a/src/cargo/core/features.rs +++ b/src/cargo/core/features.rs @@ -934,7 +934,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`") } } }