better error msg when run outside of a git repo (closese #56)

This commit is contained in:
Stephan Dilly 2020-05-14 14:24:04 +02:00
parent 479e776f30
commit 43712a1a3e

View file

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