From 72c70963c589957d140bbd0286764e753bfef34b Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 24 Jul 2022 16:21:01 +0100 Subject: [PATCH] Better warn message --- src/operations/info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operations/info.rs b/src/operations/info.rs index a8e39f9..91aeac9 100644 --- a/src/operations/info.rs +++ b/src/operations/info.rs @@ -37,7 +37,7 @@ pub fn git_status(verbose: bool, repo: &str, colorblind: bool) -> String { env::set_current_dir(&repo).unwrap_or_else(|e| { crash!( AppExitCode::NotInit, - "Failed to enter directory {} for Git info: {}", + "Failed to enter directory {} for Git info: {}, Have you initialized the repo?", repo, e.to_string() );