From 0088121d21d4f70720efa5ba4db087b0c61b0293 Mon Sep 17 00:00:00 2001 From: Connor Worley Date: Thu, 11 Jan 2024 16:47:26 +0900 Subject: [PATCH] Update error message about removed -Zgitoxide aspects --- src/cargo/core/features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/core/features.rs b/src/cargo/core/features.rs index 2c0663c5698..18d557d9a3f 100644 --- a/src/cargo/core/features.rs +++ b/src/cargo/core/features.rs @@ -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`") } } }