Better warn message

main
Michal 2 years ago
parent 78634aa28e
commit 8dc9690325
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -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()
);

Loading…
Cancel
Save