From 43712a1a3e64cf9cfd1034a78de4251668398e44 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Thu, 14 May 2020 14:24:04 +0200 Subject: [PATCH] better error msg when run outside of a git repo (closese #56) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fcf978bb..356455e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ fn main() -> Result<()> { setup_logging(); if invalid_path() { - eprintln!("invalid git path"); + eprintln!("invalid git path\nplease run gitui inside of a git repository"); return Ok(()); }