Better warn message

main
Michal 2 years ago
parent 7d173e119d
commit 72c70963c5

@ -37,7 +37,7 @@ pub fn git_status(verbose: bool, repo: &str, colorblind: bool) -> String {
env::set_current_dir(&repo).unwrap_or_else(|e| { env::set_current_dir(&repo).unwrap_or_else(|e| {
crash!( crash!(
AppExitCode::NotInit, AppExitCode::NotInit,
"Failed to enter directory {} for Git info: {}", "Failed to enter directory {} for Git info: {}, Have you initialized the repo?",
repo, repo,
e.to_string() e.to_string()
); );

Loading…
Cancel
Save