Skip to content

Commit 43712a1

Browse files
author
Stephan Dilly
committed
better error msg when run outside of a git repo (closese #56)
1 parent 479e776 commit 43712a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn main() -> Result<()> {
4949
setup_logging();
5050

5151
if invalid_path() {
52-
eprintln!("invalid git path");
52+
eprintln!("invalid git path\nplease run gitui inside of a git repository");
5353
return Ok(());
5454
}
5555

0 commit comments

Comments
 (0)